Merge "[multibuttonentry] TC modify: wrong testcase Change-Id: I19c42418ca3bb5364fa76...
authordeasung.kim <deasung.kim@samsung.com>
Wed, 11 May 2011 05:11:46 +0000 (14:11 +0900)
committerGerrit Code Review <git@Maetan>
Wed, 11 May 2011 05:11:46 +0000 (14:11 +0900)
76 files changed:
.gitignore
TC/elm_ts/controlbar/Makefile
TC/elm_ts/genlist/Makefile
TC/elm_ts/genlist/tslist
TC/elm_ts/genlist/utc_UIFW_elm_genlist_add_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_always_select_mode_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_always_select_mode_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_at_xy_item_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_block_count_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_block_count_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_bounce_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_bounce_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_clear_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_compress_mode_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_compress_mode_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_edit_mode_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_edit_selected_items_del_func.c [deleted file]
TC/elm_ts/genlist/utc_UIFW_elm_genlist_edit_selected_items_get_func.c [deleted file]
TC/elm_ts/genlist/utc_UIFW_elm_genlist_effect_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_first_item_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_homogeneous_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_homogeneous_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_horizontal_mode_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_horizontal_mode_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_append_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_bring_in_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_data_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_data_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_del_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_disabled_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_disabled_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_display_only_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_display_only_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_expanded_depth_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_expanded_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_expanded_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_genlist_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_insert_after_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_insert_before_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_middle_bring_in_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_middle_show_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_move_after_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_next_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_object_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_parent_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_prepend_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_prev_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_rename_mode_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_selected_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_selected_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_show_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_subitems_clear_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_top_bring_in_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_top_show_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_update_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_last_item_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_longpress_timeout_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_longpress_timeout_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_multi_select_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_multi_select_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_no_select_mode_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_no_select_mode_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_pinch_zoom_mode_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_pinch_zoom_mode_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_pinch_zoom_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_realized_items_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_scroller_policy_set_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_selected_item_get_func.c
TC/elm_ts/genlist/utc_UIFW_elm_genlist_selected_items_get_func.c
TC/elm_ts/navigationbar/utc_UIFW_elm_navigationbar_title_button_get_func.c
TC/elm_ts/popup/utc_UIFW_elm_popup_add_func.c
TC/elm_ts/popup/utc_UIFW_elm_popup_with_buttons_add_func.c
TC/elm_ts/scroller/Makefile
TC/tet_scen_arm
TC/tet_scen_i386
src/lib/elm_genlist.c

index 080c96e..7ca98dc 100644 (file)
@@ -4,16 +4,13 @@
 *.la
 .libs
 .deps
-*.swp
+.*.swp
 *.pc
 Makefile
 Makefile.in
 *.so
 *.edj
-*~
 src/lib/Elementary.h
-src/lib/Makefile
-src/lib/Makefile.in
 elementary_config
 elementary_quicklaunch
 elementary_run
@@ -21,6 +18,7 @@ elementary_test
 elementary_testql
 /aclocal.m4
 /autom4te.cache/
+/config.cache
 /config.guess
 /config.log
 /config.status
index cf26ee7..e54c9a4 100755 (executable)
@@ -1,41 +1,41 @@
 CC ?= gcc
 
-TARGETS = utc_elm_controlbar_add_func \
-                 utc_elm_controlbar_tab_item_append_func \
-                 utc_elm_controlbar_tab_item_prepend_func \
-                 utc_elm_controlbar_tab_item_insert_before_func \
-                 utc_elm_controlbar_tab_item_insert_after_func \
-                 utc_elm_controlbar_tool_item_append_func \
-                 utc_elm_controlbar_tool_item_prepend_func \
-                 utc_elm_controlbar_tool_item_insert_before_func \
-                 utc_elm_controlbar_tool_item_insert_after_func \
-                 utc_elm_controlbar_object_item_append_func \
-                 utc_elm_controlbar_object_item_prepend_func \
-                 utc_elm_controlbar_object_item_insert_before_func \
-                 utc_elm_controlbar_object_item_insert_after_func \
-                 utc_elm_controlbar_object_item_del_func \
-                 utc_elm_controlbar_object_item_select_func \
-                 utc_elm_controlbar_object_item_visible_set_func \
-                 utc_elm_controlbar_object_item_visible_get_func \
-                 utc_elm_controlbar_object_item_disable_set_func \
-                 utc_elm_controlbar_item_icon_set_func \
-                 utc_elm_controlbar_object_item_icon_get_func \
-                 utc_elm_controlbar_item_label_get_func \
-                 utc_elm_controlbar_item_label_set_func \
-                 utc_elm_controlbar_selected_item_get_func \
-                 utc_elm_controlbar_first_item_get_func \
-                 utc_elm_controlbar_last_item_get_func \
-                 utc_elm_controlbar_items_get_func \
-                 utc_elm_controlbar_item_prev_func \
-                 utc_elm_controlbar_item_next_func \
-                 utc_elm_controlbar_item_view_set_func \
-                 utc_elm_controlbar_item_view_get_func \
-          utc_elm_controlbar_mode_set_func \
-          utc_elm_controlbar_alpha_set_func \
-          utc_elm_controlbar_item_auto_align_set_func \
-          utc_elm_controlbar_vertical_set_func
+TARGETS = utc_UIFW_elm_controlbar_add_func \
+                 utc_UIFW_elm_controlbar_tab_item_append_func \
+                 utc_UIFW_elm_controlbar_tab_item_prepend_func \
+                 utc_UIFW_elm_controlbar_tab_item_insert_before_func \
+                 utc_UIFW_elm_controlbar_tab_item_insert_after_func \
+                 utc_UIFW_elm_controlbar_tool_item_append_func \
+                 utc_UIFW_elm_controlbar_tool_item_prepend_func \
+                 utc_UIFW_elm_controlbar_tool_item_insert_before_func \
+                 utc_UIFW_elm_controlbar_tool_item_insert_after_func \
+                 utc_UIFW_elm_controlbar_object_item_append_func \
+                 utc_UIFW_elm_controlbar_object_item_prepend_func \
+                 utc_UIFW_elm_controlbar_object_item_insert_before_func \
+                 utc_UIFW_elm_controlbar_object_item_insert_after_func \
+                 utc_UIFW_elm_controlbar_item_del_func \
+                 utc_UIFW_elm_controlbar_item_select_func \
+                 utc_UIFW_elm_controlbar_item_visible_set_func \
+                 utc_UIFW_elm_controlbar_item_visible_get_func \
+                 utc_UIFW_elm_controlbar_item_disable_set_func \
+                 utc_UIFW_elm_controlbar_item_icon_set_func \
+                 utc_UIFW_elm_controlbar_item_icon_get_func \
+                 utc_UIFW_elm_controlbar_item_label_set_func \
+                 utc_UIFW_elm_controlbar_item_label_get_func \
+                 utc_UIFW_elm_controlbar_selected_item_get_func \
+                 utc_UIFW_elm_controlbar_first_item_get_func \
+                 utc_UIFW_elm_controlbar_last_item_get_func \
+                 utc_UIFW_elm_controlbar_items_get_func \
+                 utc_UIFW_elm_controlbar_item_prev_func \
+                 utc_UIFW_elm_controlbar_item_next_func \
+                 utc_UIFW_elm_controlbar_item_view_set_func \
+                 utc_UIFW_elm_controlbar_item_view_get_func \
+                 utc_UIFW_elm_controlbar_mode_set_func \
+                 utc_UIFW_elm_controlbar_alpha_set_func \
+                 utc_UIFW_elm_controlbar_item_auto_align_set_func \
+                 utc_UIFW_elm_controlbar_vertical_set_func
 
-PKGS = elementary
+PKGS = elementary evas
 
 LDFLAGS = `pkg-config --libs $(PKGS)`
 LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o
@@ -48,8 +48,8 @@ CFLAGS += -Wall
 
 all: $(TARGETS)
 
-$(TARGET): %: %.c
-       $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
+$(TARGETS): %: %.c
+       $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
 
 clean:
        rm -f $(TARGETS)
index a14e09d..f61486d 100755 (executable)
@@ -45,10 +45,25 @@ TARGETS = utc_UIFW_elm_genlist_add_func \
          utc_UIFW_elm_genlist_item_expanded_get_func \
          utc_UIFW_elm_genlist_item_disabled_set_func \
          utc_UIFW_elm_genlist_item_disabled_get_func \
-         utc_UIFW_elm_genlist_item_display_only_set_func
+         utc_UIFW_elm_genlist_item_display_only_set_func \
+         utc_UIFW_elm_genlist_item_display_only_get_func \
+         utc_UIFW_elm_genlist_item_show_func \
+         utc_UIFW_elm_genlist_item_bring_in_func \
+         utc_UIFW_elm_genlist_item_top_show_func \
+         utc_UIFW_elm_genlist_item_top_bring_in_func \
+         utc_UIFW_elm_genlist_item_middle_show_func \
+         utc_UIFW_elm_genlist_item_middle_bring_in_func \
+         utc_UIFW_elm_genlist_item_del_func \
+         utc_UIFW_elm_genlist_item_data_set_func \
+         utc_UIFW_elm_genlist_item_data_get_func \
+         utc_UIFW_elm_genlist_item_update_func \
+         utc_UIFW_elm_genlist_scroller_policy_set_func \
+         utc_UIFW_elm_genlist_edit_mode_set_func \
+         utc_UIFW_elm_genlist_item_expanded_depth_get_func \
+         utc_UIFW_elm_genlist_item_rename_mode_set_func \
+         utc_UIFW_elm_genlist_item_move_after_func
 
-
-PKGS = elementary
+PKGS = elementary evas
 
 LDFLAGS = `pkg-config --libs $(PKGS)`
 LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o
@@ -61,8 +76,8 @@ CFLAGS += -Wall
 
 all: $(TARGETS)
 
-$(TARGET): %: %.c
-       $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
+$(TARGETS): %: %.c
+       $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
 
 clean:
        rm -f $(TARGETS)
index 3b0b9de..cbfe822 100644 (file)
@@ -57,8 +57,6 @@
 /elm_ts/genlist/utc_UIFW_elm_genlist_item_update_func
 /elm_ts/genlist/utc_UIFW_elm_genlist_scroller_policy_set_func
 /elm_ts/genlist/utc_UIFW_elm_genlist_edit_mode_set_func
-/elm_ts/genlist/utc_UIFW_elm_genlist_edit_selected_items_del_func
-/elm_ts/genlist/utc_UIFW_elm_genlist_edit_selected_items_get_func
 /elm_ts/genlist/utc_UIFW_elm_genlist_item_expanded_depth_get_func
 /elm_ts/genlist/utc_UIFW_elm_genlist_item_rename_mode_set_func
 /elm_ts/genlist/utc_UIFW_elm_genlist_item_move_after_func
index 98f45f8..f90df2e 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -54,14 +54,14 @@ 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);     
+       evas_object_show(main_win);
 }
 
 static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -73,8 +73,8 @@ static void cleanup(void)
 static void utc_UIFW_elm_genlist_add_func_01(void)
 {
        Evas_Object *r = NULL;
-       r = elm_genlist_add(main_win);
-       
+       r = elm_genlist_add(main_win);
+
        if (!r) {
                tet_infoline("elm_genlist_add() failed in positive test case");
                tet_result(TET_FAIL);
@@ -89,8 +89,8 @@ static void utc_UIFW_elm_genlist_add_func_01(void)
 static void utc_UIFW_elm_genlist_add_func_02(void)
 {
        Evas_Object* r = NULL;
-       r = elm_genlist_add(NULL);
-       
+       r = elm_genlist_add(NULL);
+
        if (r) {
                tet_infoline("elm_genlist_add() failed in negative test case");
                tet_result(TET_FAIL);
index 24efd8a..b3406a9 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -67,7 +67,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -102,7 +102,7 @@ static void utc_UIFW_elm_genlist_always_select_mode_get_func_01(void)
 {
        Eina_Bool res = EINA_FALSE;
 
-       res = elm_genlist_always_select_mode_get(genlist);
+       res = elm_genlist_always_select_mode_get(genlist);
 
        if (!res) {
                tet_infoline("elm_genlist_always_select_mode_get() failed in positive test case");
@@ -119,7 +119,7 @@ static void utc_UIFW_elm_genlist_always_select_mode_get_func_02(void)
 {
        Eina_Bool res = EINA_FALSE;
 
-       res = elm_genlist_always_select_mode_get(NULL);
+       res = elm_genlist_always_select_mode_get(NULL);
 
        if (res) {
                tet_infoline("elm_genlist_always_select_mode_get() failed in negative test case");
index 06ab97a..fdb39c1 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -100,7 +100,7 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_always_select_mode_set_func_01(void)
 {
-       elm_genlist_always_select_mode_set(genlist, EINA_TRUE);
+       elm_genlist_always_select_mode_set(genlist, EINA_TRUE);
        tet_result(TET_PASS);
 }
 
index 5d4dca9..71c4f2d 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -103,9 +103,9 @@ static void utc_UIFW_elm_genlist_at_xy_item_get_func_01(void)
        Elm_Genlist_Item *ret = NULL;
        int where = 0;
 
-       ret = elm_genlist_at_xy_item_get(genlist, 0, 0, &where);  
+       ret = elm_genlist_at_xy_item_get(genlist, 0, 0, &where);
 
-       tet_result(TET_PASS);   
+       tet_result(TET_PASS);
 }
 
 /**
@@ -113,15 +113,15 @@ static void utc_UIFW_elm_genlist_at_xy_item_get_func_01(void)
  */
 static void utc_UIFW_elm_genlist_at_xy_item_get_func_02(void)
 {
-   Elm_Genlist_Item *ret = NULL;
+       Elm_Genlist_Item *ret = NULL;
        int where = 0;
 
-       ret = elm_genlist_at_xy_item_get(NULL, 0, 0, &where);  
+       ret = elm_genlist_at_xy_item_get(NULL, 0, 0, &where);
 
        if (ret) {
                tet_infoline("elm_genlist_at_xy_item_get() failed in negative test case");
                tet_result(TET_FAIL);
                return;
        }
-       tet_result(TET_PASS);   
+       tet_result(TET_PASS);
 }
index e5fae57..cceb3b8 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -103,7 +103,7 @@ static void utc_UIFW_elm_genlist_block_count_get_func_01(void)
 {
        int r = 0;
 
-       r = elm_genlist_block_count_get(genlist);
+       r = elm_genlist_block_count_get(genlist);
 
        if (!r) {
                tet_infoline("elm_genlist_block_count_get() failed in positive test case");
@@ -120,7 +120,7 @@ static void utc_UIFW_elm_genlist_block_count_get_func_02(void)
 {
        int r = 0;
 
-       r = elm_genlist_block_count_get(NULL);
+       r = elm_genlist_block_count_get(NULL);
 
        if (r) {
                tet_infoline("elm_genlist_block_count_get() failed in negative test case");
index 27a8f49..bdd5752 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -101,7 +101,7 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_block_count_set_func_01(void)
 {
-       elm_genlist_block_count_set(genlist, 5);
+       elm_genlist_block_count_set(genlist, 5);
        tet_result(TET_PASS);
 }
 
@@ -110,6 +110,6 @@ static void utc_UIFW_elm_genlist_block_count_set_func_01(void)
  */
 static void utc_UIFW_elm_genlist_block_count_set_func_02(void)
 {
-       elm_genlist_block_count_set(NULL, 5);
+       elm_genlist_block_count_set(NULL, 5);
        tet_result(TET_PASS);
 }
index 751a58d..1015577 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -108,12 +108,12 @@ static void utc_UIFW_elm_genlist_bounce_get_func_01(void)
 
        //TODO ::: bug!!! fix this!!!
        /*
-       if ((ret_h != my_h) || (ret_v != my_v)) {
-               tet_infoline("elm_genlist_bounce_get() failed in positive test case");
-               tet_result(TET_FAIL);
-               return;
-       }
-       */
+          if ((ret_h != my_h) || (ret_v != my_v)) {
+          tet_infoline("elm_genlist_bounce_get() failed in positive test case");
+          tet_result(TET_FAIL);
+          return;
+          }
+        */
        tet_result(TET_PASS);
 }
 
index 31f3881..49a403a 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index baaa53e..3547a25 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -67,7 +67,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -88,7 +88,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index 7dc45bb..1d456ea 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 Evas_Object *main_win, *genlist;
@@ -67,7 +67,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -103,7 +103,7 @@ static void utc_UIFW_elm_genlist_compress_mode_get_func_01(void)
        Eina_Bool  r = EINA_FALSE;
 
 
-       r = elm_genlist_compress_mode_get(genlist);     
+       r = elm_genlist_compress_mode_get(genlist);
        if (!r) {
                tet_infoline("elm_genlist_compress_mode_get() failed in positive test case");
                tet_result(TET_FAIL);
index 8a13c43..db2ff31 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -100,7 +100,7 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_compress_mode_set_func_01(void)
 {
-       elm_genlist_compress_mode_set(genlist, EINA_TRUE);
+       elm_genlist_compress_mode_set(genlist, EINA_TRUE);
        tet_result(TET_PASS);
 }
 
index a29cf94..1164473 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,23 +90,21 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
 }
 
-static Elm_Genlist_Edit_Class ec;
-
 /**
  * @brief Positive test case of elm_genlist_edit_mode_set()
  */
 static void utc_UIFW_elm_genlist_edit_mode_set_func_01(void)
 {
-       ec.move = NULL;
-       ec.item_selected = NULL;
+       itc.func.moved = NULL;
+       itc.edit_item_style = "edit_default";
 
-       elm_genlist_edit_mode_set(genlist, ELM_GENLIST_EDIT_MODE_REORDER | ELM_GENLIST_EDIT_MODE_SELECT, &ec);
+       elm_genlist_edit_mode_set(genlist, EINA_TRUE);
 
        tet_result(TET_PASS);
 }
@@ -116,6 +114,6 @@ static void utc_UIFW_elm_genlist_edit_mode_set_func_01(void)
  */
 static void utc_UIFW_elm_genlist_edit_mode_set_func_02(void)
 {
-       elm_genlist_edit_mode_set(NULL, ELM_GENLIST_EDIT_MODE_NONE, NULL);
+       elm_genlist_edit_mode_set(NULL, EINA_FALSE);
        tet_result(TET_PASS);
 }
diff --git a/TC/elm_ts/genlist/utc_UIFW_elm_genlist_edit_selected_items_del_func.c b/TC/elm_ts/genlist/utc_UIFW_elm_genlist_edit_selected_items_del_func.c
deleted file mode 100644 (file)
index 8145fe4..0000000
+++ /dev/null
@@ -1,122 +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, *genlist;
-static char *Items[] = { "Main Item1", "Main Item 2", "Main Item 3", "Main Item 4", "Main Item 5", "Main Item 6", "Main Item 7", "Main Item 8"  };
-Elm_Genlist_Item_Class itc;
-
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_genlist_edit_selected_items_del_func_01(void);
-static void utc_UIFW_elm_genlist_edit_selected_items_del_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_UIFW_elm_genlist_edit_selected_items_del_func_01, POSITIVE_TC_IDX },
-       { utc_UIFW_elm_genlist_edit_selected_items_del_func_02, NEGATIVE_TC_IDX },
-       { NULL, 0 }
-};
-
-static char *_gl_label_get( const void *data, Evas_Object *obj, const char *part )
-{
-       int index = (int) data;
-
-       if (!strcmp(part, "elm.text")) {
-               return strdup(Items[index]);
-       }
-       return NULL;
-}
-
-static void startup(void)
-{
-       Elm_Genlist_Item *item = NULL;
-       int index = 0;
-       tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
-       elm_init(0, NULL);
-       main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-       evas_object_show(main_win);     
-       genlist = elm_genlist_add(main_win);
-       evas_object_show(genlist);
-       elm_win_resize_object_add(main_win, genlist);
-       evas_object_size_hint_align_set(genlist, EVAS_HINT_FILL, EVAS_HINT_FILL);
-       evas_object_size_hint_weight_set(genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       itc.item_style = "1line_textonly";
-       itc.func.label_get = _gl_label_get;
-       itc.func.icon_get = NULL;
-       itc.func.state_get = NULL;
-       itc.func.del = NULL;
-       for (index = 0; index < 5; index++) {
-               item = elm_genlist_item_append(genlist, &itc, (void *) index, NULL,
-                               ELM_GENLIST_ITEM_NONE, NULL, NULL);
-       }
-}
-
-static void cleanup(void)
-{
-       if ( NULL != main_win ) {
-               evas_object_del(main_win);
-               main_win = NULL;
-       }
-       elm_shutdown();
-       tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-static Elm_Genlist_Edit_Class ec;
-
-/**
- * @brief Positive test case of elm_genlist_edit_selected_items_del()
- */
-static void utc_UIFW_elm_genlist_edit_selected_items_del_func_01(void)
-{
-       ec.move = NULL;
-       ec.item_selected = NULL;
-
-       elm_genlist_edit_mode_set(genlist, ELM_GENLIST_EDIT_MODE_REORDER | ELM_GENLIST_EDIT_MODE_SELECT, &ec);
-       elm_genlist_edit_selected_items_del(genlist);
-
-       tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case of ug_init elm_genlist_edit_selected_items_del()
- */
-static void utc_UIFW_elm_genlist_edit_selected_items_del_func_02(void)
-{
-       elm_genlist_edit_selected_items_del(NULL);
-       tet_result(TET_PASS);
-}
diff --git a/TC/elm_ts/genlist/utc_UIFW_elm_genlist_edit_selected_items_get_func.c b/TC/elm_ts/genlist/utc_UIFW_elm_genlist_edit_selected_items_get_func.c
deleted file mode 100644 (file)
index 7068f3a..0000000
+++ /dev/null
@@ -1,121 +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, *genlist;
-static char *Items[] = { "Main Item1", "Main Item 2", "Main Item 3", "Main Item 4", "Main Item 5", "Main Item 6", "Main Item 7", "Main Item 8"  };
-Elm_Genlist_Item_Class itc;
-
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_genlist_edit_selected_items_get_func_01(void);
-static void utc_UIFW_elm_genlist_edit_selected_items_get_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_UIFW_elm_genlist_edit_selected_items_get_func_01, POSITIVE_TC_IDX },
-       { utc_UIFW_elm_genlist_edit_selected_items_get_func_02, NEGATIVE_TC_IDX },
-       { NULL, 0 }
-};
-
-static char *_gl_label_get( const void *data, Evas_Object *obj, const char *part )
-{
-       int index = (int) data;
-
-       if (!strcmp(part, "elm.text")) {
-               return strdup(Items[index]);
-       }
-       return NULL;
-}
-
-static void startup(void)
-{
-       Elm_Genlist_Item *item = NULL;
-       int index = 0;
-       tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
-       elm_init(0, NULL);
-       main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-       evas_object_show(main_win);     
-       genlist = elm_genlist_add(main_win);
-       evas_object_show(genlist);
-       elm_win_resize_object_add(main_win, genlist);
-       evas_object_size_hint_align_set(genlist, EVAS_HINT_FILL, EVAS_HINT_FILL);
-       evas_object_size_hint_weight_set(genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       itc.item_style = "1line_textonly";
-       itc.func.label_get = _gl_label_get;
-       itc.func.icon_get = NULL;
-       itc.func.state_get = NULL;
-       itc.func.del = NULL;
-       for (index = 0; index < 5; index++) {
-               item = elm_genlist_item_append(genlist, &itc, (void *) index, NULL,
-                               ELM_GENLIST_ITEM_NONE, NULL, NULL);
-       }
-}
-
-static void cleanup(void)
-{
-       if ( NULL != main_win ) {
-               evas_object_del(main_win);
-               main_win = NULL;
-       }
-       elm_shutdown();
-       tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-static Elm_Genlist_Edit_Class ec;
-
-/**
- * @brief Positive test case of elm_genlist_edit_selected_items_get()
- */
-static void utc_UIFW_elm_genlist_edit_selected_items_get_func_01(void)
-{
-       ec.move = NULL;
-       ec.item_selected = NULL;
-
-       elm_genlist_edit_mode_set(genlist, ELM_GENLIST_EDIT_MODE_REORDER | ELM_GENLIST_EDIT_MODE_SELECT, &ec);
-       elm_genlist_edit_selected_items_get(genlist);
-       tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case of ug_init elm_genlist_edit_selected_items_get()
- */
-static void utc_UIFW_elm_genlist_edit_selected_items_get_func_02(void)
-{
-       elm_genlist_edit_selected_items_get(NULL);
-       tet_result(TET_PASS);
-}
index d06016c..0c669ff 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -100,7 +100,7 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_effect_set_func_01(void)
 {
-       elm_genlist_effect_set(genlist, EINA_TRUE);
+       elm_genlist_effect_set(genlist, EINA_TRUE);
        tet_result(TET_PASS);
 }
 
@@ -109,6 +109,6 @@ static void utc_UIFW_elm_genlist_effect_set_func_01(void)
  */
 static void utc_UIFW_elm_genlist_effect_set_func_02(void)
 {
-       elm_genlist_effect_set(NULL, EINA_TRUE);
+       elm_genlist_effect_set(NULL, EINA_TRUE);
        tet_result(TET_PASS);
 }
index c4274a1..2017fc1 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -101,11 +101,11 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_first_item_get_func_01(void)
 {
-   Elm_Genlist_Item *item = NULL, *result_item = NULL;
+       Elm_Genlist_Item *item = NULL, *result_item = NULL;
+
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);   
-   
        result_item = elm_genlist_first_item_get(genlist);
 
        if (!result_item) {
@@ -121,11 +121,11 @@ static void utc_UIFW_elm_genlist_first_item_get_func_01(void)
  */
 static void utc_UIFW_elm_genlist_first_item_get_func_02(void)
 {
-   Elm_Genlist_Item *item = NULL, *result_item = NULL;
+       Elm_Genlist_Item *item = NULL, *result_item = NULL;
+
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);   
-   
        result_item = elm_genlist_first_item_get(NULL);
 
        if (result_item) {
index 6e9b867..6075c21 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -104,7 +104,7 @@ static void utc_UIFW_elm_genlist_homogeneous_get_func_01(void)
        Eina_Bool res = EINA_FALSE;
 
 
-       res = elm_genlist_homogeneous_get(genlist);
+       res = elm_genlist_homogeneous_get(genlist);
        if (!res) {
                tet_infoline("elm_genlist_bounce_get() failed in positive test case");
                tet_result(TET_FAIL);
@@ -121,7 +121,7 @@ static void utc_UIFW_elm_genlist_homogeneous_get_func_02(void)
        Eina_Bool res = EINA_FALSE;
 
 
-       res = elm_genlist_homogeneous_get(NULL);
+       res = elm_genlist_homogeneous_get(NULL);
        if (res) {
                tet_infoline("elm_genlist_bounce_get() failed in negative test case");
                tet_result(TET_FAIL);
index 0b61992..9bc82d8 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -101,7 +101,7 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_homogeneous_set_func_01(void)
 {
-       elm_genlist_homogeneous_set(genlist, EINA_TRUE);
+       elm_genlist_homogeneous_set(genlist, EINA_TRUE);
        tet_result(TET_PASS);
 }
 
@@ -110,6 +110,6 @@ static void utc_UIFW_elm_genlist_homogeneous_set_func_01(void)
  */
 static void utc_UIFW_elm_genlist_homogeneous_set_func_02(void)
 {
-   elm_genlist_homogeneous_set(NULL, EINA_TRUE);
+       elm_genlist_homogeneous_set(NULL, EINA_TRUE);
        tet_result(TET_PASS);
 }
index 12ff90d..66cf009 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -91,7 +91,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -106,7 +106,7 @@ static void utc_UIFW_elm_genlist_horizontal_mode_get_func_01(void)
        Elm_List_Mode my_mode = ELM_LIST_SCROLL, ret_mode = 0;
 
        elm_genlist_horizontal_mode_set(genlist, my_mode);
-       ret_mode = elm_genlist_horizontal_mode_get(genlist);
+       ret_mode = elm_genlist_horizontal_mode_get(genlist);
 
        if (ret_mode != my_mode) {
                tet_infoline("elm_genlist_horizontal_mode_get() failed in positive test case");
@@ -124,7 +124,7 @@ static void utc_UIFW_elm_genlist_horizontal_mode_get_func_02(void)
        Elm_List_Mode my_mode = ELM_LIST_SCROLL, ret_mode = 0;
 
        elm_genlist_horizontal_mode_set(genlist, my_mode);
-       ret_mode = elm_genlist_horizontal_mode_get(NULL);
+       ret_mode = elm_genlist_horizontal_mode_get(NULL);
 
        if (ret_mode == my_mode) {
                tet_infoline("elm_genlist_horizontal_mode_get() failed in negative test case");
index 27771d8..ba3f54a 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -67,7 +67,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -101,7 +101,7 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_horizontal_mode_set_func_01(void)
 {
-       elm_genlist_horizontal_mode_set(genlist, ELM_LIST_LIMIT);
+       elm_genlist_horizontal_mode_set(genlist, ELM_LIST_LIMIT);
        tet_result(TET_PASS);
 }
 
@@ -110,6 +110,6 @@ static void utc_UIFW_elm_genlist_horizontal_mode_set_func_01(void)
  */
 static void utc_UIFW_elm_genlist_horizontal_mode_set_func_02(void)
 {
-    elm_genlist_horizontal_mode_set(NULL, ELM_LIST_LIMIT);
+       elm_genlist_horizontal_mode_set(NULL, ELM_LIST_LIMIT);
        tet_result(TET_PASS);
 }
index 0b2818c..0e27f59 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index aa61806..0ebd34a 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index 76ceaf5..b538881 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index e1ba56b..0ec9d1b 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index 7302fdf..874f4e3 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index bf5e1a1..ac00998 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -83,15 +83,15 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_item_disabled_get_func_01(void)
 {
-   Elm_Genlist_Item *item = NULL;
-   Eina_Bool ret = EINA_FALSE;
+       Elm_Genlist_Item *item = NULL;
+       Eina_Bool ret = EINA_FALSE;
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);      
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
        elm_genlist_item_disabled_set(item, 1);
 
        ret = elm_genlist_item_disabled_get(item);
-   
+
        if (!ret) {
                tet_infoline("elm_genlist_item_disabled_get() failed in positive test case");
                tet_result(TET_FAIL);
@@ -105,14 +105,14 @@ static void utc_UIFW_elm_genlist_item_disabled_get_func_01(void)
  */
 static void utc_UIFW_elm_genlist_item_disabled_get_func_02(void)
 {
-   Elm_Genlist_Item *item = NULL;
-   Eina_Bool ret = EINA_FALSE;
+       Elm_Genlist_Item *item = NULL;
+       Eina_Bool ret = EINA_FALSE;
+
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);      
-   
        ret = elm_genlist_item_disabled_get(NULL);
-   
+
        if (ret) {
                tet_infoline("elm_genlist_item_disabled_get() failed in negative test case");
                tet_result(TET_FAIL);
index cf41492..d1fe28b 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -86,11 +86,11 @@ static void utc_UIFW_elm_genlist_item_disabled_set_func_01(void)
        Elm_Genlist_Item *item = NULL;
        Eina_Bool ret = EINA_FALSE;
 
-       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);      
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
        elm_genlist_item_disabled_set(item, EINA_TRUE);
 
        ret = elm_genlist_item_disabled_get(item);
-   
+
        if (!ret) {
                tet_infoline("elm_genlist_item_disabled_set() failed in positive test case");
                tet_result(TET_FAIL);
@@ -106,8 +106,8 @@ static void utc_UIFW_elm_genlist_item_disabled_set_func_02(void)
 {
        Elm_Genlist_Item *item = NULL;
 
-       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);      
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
        elm_genlist_item_disabled_set(NULL, EINA_FALSE);
-   
+
        tet_result(TET_PASS);
 }
index 6032425..1d8efbf 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index d24d87d..0628f69 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -86,11 +86,11 @@ static void utc_UIFW_elm_genlist_item_display_only_set_func_01(void)
        Elm_Genlist_Item *item = NULL;
        Eina_Bool ret = EINA_FALSE;
 
-       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);      
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
        elm_genlist_item_display_only_set(item, EINA_TRUE);
 
        ret = elm_genlist_item_display_only_get(item);
-   
+
        if (!ret) {
                tet_infoline("elm_genlist_item_display_only_set() failed in positive test case");
                tet_result(TET_FAIL);
@@ -106,8 +106,8 @@ static void utc_UIFW_elm_genlist_item_display_only_set_func_02(void)
 {
        Elm_Genlist_Item *item = NULL;
 
-       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);      
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
        elm_genlist_item_display_only_set(NULL, EINA_FALSE);
-   
+
        tet_result(TET_PASS);
 }
index 68a9e80..6c2be3e 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index e4029d9..d385453 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -83,15 +83,15 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_item_expanded_get_func_01(void)
 {
-   Elm_Genlist_Item *item = NULL;
-   Eina_Bool ret = EINA_FALSE;
+       Elm_Genlist_Item *item = NULL;
+       Eina_Bool ret = EINA_FALSE;
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);      
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
        elm_genlist_item_expanded_set(item, 1);
 
        ret = elm_genlist_item_expanded_get(item);
-   
+
        if (!ret) {
                tet_infoline("elm_genlist_item_expanded_get() failed in positive test case");
                tet_result(TET_FAIL);
@@ -105,14 +105,14 @@ static void utc_UIFW_elm_genlist_item_expanded_get_func_01(void)
  */
 static void utc_UIFW_elm_genlist_item_expanded_get_func_02(void)
 {
-   Elm_Genlist_Item *item = NULL;
-   Eina_Bool ret = EINA_FALSE;
+       Elm_Genlist_Item *item = NULL;
+       Eina_Bool ret = EINA_FALSE;
+
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);      
-   
        ret = elm_genlist_item_expanded_get(NULL);
-   
+
        if (ret) {
                tet_infoline("elm_genlist_item_expanded_get() failed in negative test case");
                tet_result(TET_FAIL);
index 9e916b5..ce74920 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -83,10 +83,10 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_item_expanded_set_func_01(void)
 {
-   Elm_Genlist_Item *item = NULL;
+       Elm_Genlist_Item *item = NULL;
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);      
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
        elm_genlist_item_expanded_set(item, 1);
 
        tet_result(TET_PASS);
@@ -97,11 +97,11 @@ static void utc_UIFW_elm_genlist_item_expanded_set_func_01(void)
  */
 static void utc_UIFW_elm_genlist_item_expanded_set_func_02(void)
 {
-   Elm_Genlist_Item *item = NULL;
+       Elm_Genlist_Item *item = NULL;
+
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);      
-   
        elm_genlist_item_expanded_set(NULL, 1);
 
        tet_result(TET_PASS);
index 335d895..4e36680 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -86,7 +86,7 @@ static void utc_UIFW_elm_genlist_item_genlist_get_func_01(void)
        Elm_Genlist_Item *item = NULL;
        Evas_Object *ret = NULL;
 
-       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);   
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
        ret = elm_genlist_item_genlist_get(item);
 
        if (!ret) {
@@ -105,7 +105,7 @@ static void utc_UIFW_elm_genlist_item_genlist_get_func_02(void)
        Elm_Genlist_Item *item = NULL;
        Evas_Object *ret = NULL;
 
-       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);   
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
        ret = elm_genlist_item_genlist_get(NULL);
 
        if (ret) {
index bfd4533..a4ab829 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -83,11 +83,11 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_item_insert_after_func_01(void)
 {
-   Elm_Genlist_Item *item = NULL, *result_item = NULL;
+       Elm_Genlist_Item *item = NULL, *result_item = NULL;
+
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);   
-   
        result_item = elm_genlist_item_insert_after(genlist, &itc, (void *) 0, NULL, item,
                        ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
@@ -104,12 +104,12 @@ static void utc_UIFW_elm_genlist_item_insert_after_func_01(void)
  */
 static void utc_UIFW_elm_genlist_item_insert_after_func_02(void)
 {
-   Elm_Genlist_Item *item = NULL, *result_item = NULL;
+       Elm_Genlist_Item *item = NULL, *result_item = NULL;
+
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);   
-   
-       result_item = elm_genlist_item_insert_after(NULL, &itc, (void *) 0, NULL, NULL,
+       result_item = elm_genlist_item_insert_after(NULL, &itc, (void *) 0, NULL, item,
                        ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
        if (result_item) {
index 2c73ab3..21ab297 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -83,11 +83,11 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_item_insert_before_func_01(void)
 {
-   Elm_Genlist_Item *item = NULL, *result_item = NULL;
+       Elm_Genlist_Item *item = NULL, *result_item = NULL;
+
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);   
-   
        result_item = elm_genlist_item_insert_before(genlist, &itc, (void *) 0, NULL, item,
                        ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
@@ -104,11 +104,11 @@ static void utc_UIFW_elm_genlist_item_insert_before_func_01(void)
  */
 static void utc_UIFW_elm_genlist_item_insert_before_func_02(void)
 {
-   Elm_Genlist_Item *item = NULL, *result_item = NULL;
+       Elm_Genlist_Item *item = NULL, *result_item = NULL;
+
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);   
-   
        result_item = elm_genlist_item_insert_before(NULL, &itc, (void *) 0, NULL, NULL,
                        ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
index d8b6553..d6cfe71 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index 9d8b94d..752ce57 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index cefd8eb..e8cc986 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index 4a3b248..318b057 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -100,10 +100,10 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_item_next_get_func_01(void)
 {
-   Elm_Genlist_Item *it = NULL, *ret = NULL;
-   
-   it =        elm_genlist_first_item_get(genlist);
-   ret = elm_genlist_item_next_get(it);
+       Elm_Genlist_Item *it = NULL, *ret = NULL;
+
+       it = elm_genlist_first_item_get(genlist);
+       ret = elm_genlist_item_next_get(it);
 
        if (!ret) {
                tet_infoline("elm_genlist_first_item_get() failed in positive test case");
@@ -118,15 +118,15 @@ static void utc_UIFW_elm_genlist_item_next_get_func_01(void)
  */
 static void utc_UIFW_elm_genlist_item_next_get_func_02(void)
 {
-   Elm_Genlist_Item *it = NULL, *ret = NULL;
-   
-   it =        elm_genlist_first_item_get(genlist);
-   ret = elm_genlist_item_next_get(NULL);
+       Elm_Genlist_Item *it = NULL, *ret = NULL;
+
+       it = elm_genlist_first_item_get(genlist);
+       ret = elm_genlist_item_next_get(NULL);
 
        if (ret) {
                tet_infoline("elm_genlist_item_next_get() failed in negative test case");
                tet_result(TET_FAIL);
                return;
        }
-       tet_result(TET_PASS);   
+       tet_result(TET_PASS);
 }
index ec68526..0fb561b 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index 42efd03..9f7d2da 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -83,9 +83,9 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_item_parent_get_func_01(void)
 {
-   Elm_Genlist_Item *item = NULL, *ret = NULL;
+       Elm_Genlist_Item *item = NULL, *ret = NULL;
 
-   item = elm_genlist_last_item_get(genlist); 
+       item = elm_genlist_last_item_get(genlist);
        ret = elm_genlist_item_parent_get(item);
 
        tet_result(TET_PASS);
@@ -96,7 +96,7 @@ static void utc_UIFW_elm_genlist_item_parent_get_func_01(void)
  */
 static void utc_UIFW_elm_genlist_item_parent_get_func_02(void)
 {
-   Elm_Genlist_Item  *ret = NULL;
+       Elm_Genlist_Item  *ret = NULL;
 
        ret = elm_genlist_item_parent_get(NULL);
 
index 7b22d62..293daa7 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -83,7 +83,7 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_item_prepend_func_01(void)
 {
-   Elm_Genlist_Item *item = NULL;
+       Elm_Genlist_Item *item = NULL;
        item = elm_genlist_item_prepend(genlist, &itc, (void *) 0, NULL,
                        ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
@@ -100,7 +100,7 @@ static void utc_UIFW_elm_genlist_item_prepend_func_01(void)
  */
 static void utc_UIFW_elm_genlist_item_prepend_func_02(void)
 {
-   Elm_Genlist_Item *item = NULL;
+       Elm_Genlist_Item *item = NULL;
        item = elm_genlist_item_prepend(NULL, &itc, (void *) 0, NULL,
                        ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
index cf2640f..8d129ef 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -100,10 +100,10 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_item_prev_get_func_01(void)
 {
-   Elm_Genlist_Item *it = NULL, *ret = NULL;
-   
-   it =        elm_genlist_last_item_get(genlist);
-   ret = elm_genlist_item_prev_get(it);
+       Elm_Genlist_Item *it = NULL, *ret = NULL;
+
+       it = elm_genlist_last_item_get(genlist);
+       ret = elm_genlist_item_prev_get(it);
 
        if (!ret) {
                tet_infoline("elm_genlist_first_item_get() failed in positive test case");
@@ -118,15 +118,15 @@ static void utc_UIFW_elm_genlist_item_prev_get_func_01(void)
  */
 static void utc_UIFW_elm_genlist_item_prev_get_func_02(void)
 {
-   Elm_Genlist_Item *it = NULL, *ret = NULL;
-   
-   it =        elm_genlist_last_item_get(genlist);
-   ret = elm_genlist_item_prev_get(NULL);
+       Elm_Genlist_Item *it = NULL, *ret = NULL;
+
+       it = elm_genlist_last_item_get(genlist);
+       ret = elm_genlist_item_prev_get(NULL);
 
        if (ret) {
                tet_infoline("elm_genlist_item_prev_get() failed in negative test case");
                tet_result(TET_FAIL);
                return;
        }
-       tet_result(TET_PASS);   
+       tet_result(TET_PASS);
 }
index 5d2c11d..339cf45 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,14 +90,12 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
 }
 
-static Elm_Genlist_Edit_Class ec;
-
 /**
  * @brief Positive test case of elm_genlist_item_rename_mode_set()
  */
@@ -105,7 +103,6 @@ static void utc_UIFW_elm_genlist_item_rename_mode_set_func_01(void)
 {
        Elm_Genlist_Item *it = NULL;
 
-       elm_genlist_edit_mode_set(genlist, ELM_GENLIST_EDIT_MODE_REORDER | ELM_GENLIST_EDIT_MODE_SELECT, &ec);
        it = elm_genlist_item_append(genlist, &itc, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
        elm_genlist_item_rename_mode_set(it, EINA_TRUE);
        tet_result(TET_PASS);
@@ -116,7 +113,6 @@ static void utc_UIFW_elm_genlist_item_rename_mode_set_func_01(void)
  */
 static void utc_UIFW_elm_genlist_item_rename_mode_set_func_02(void)
 {
-       elm_genlist_edit_mode_set(genlist, ELM_GENLIST_EDIT_MODE_REORDER | ELM_GENLIST_EDIT_MODE_SELECT, &ec);
        elm_genlist_item_rename_mode_set(NULL, EINA_FALSE);
        tet_result(TET_PASS);
 }
index f0fde83..f2cfbd2 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -83,15 +83,15 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_item_selected_get_func_01(void)
 {
-   Elm_Genlist_Item *item = NULL;
-   Eina_Bool ret = EINA_FALSE;
+       Elm_Genlist_Item *item = NULL;
+       Eina_Bool ret = EINA_FALSE;
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);      
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
        elm_genlist_item_selected_set(item, 1);
 
        ret = elm_genlist_item_selected_get(item);
-   
+
        if (!ret) {
                tet_infoline("elm_genlist_item_selected_get() failed in positive test case");
                tet_result(TET_FAIL);
@@ -105,14 +105,14 @@ static void utc_UIFW_elm_genlist_item_selected_get_func_01(void)
  */
 static void utc_UIFW_elm_genlist_item_selected_get_func_02(void)
 {
-   Elm_Genlist_Item *item = NULL;
-   Eina_Bool ret = EINA_FALSE;
+       Elm_Genlist_Item *item = NULL;
+       Eina_Bool ret = EINA_FALSE;
+
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);      
-   
        ret = elm_genlist_item_selected_get(NULL);
-   
+
        if (ret) {
                tet_infoline("elm_genlist_item_selected_get() failed in negative test case");
                tet_result(TET_FAIL);
index 34fbe6c..039b5d2 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -85,7 +85,7 @@ static void utc_UIFW_elm_genlist_item_selected_set_func_01(void)
 {
        Elm_Genlist_Item *item = NULL;
 
-       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);      
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
        elm_genlist_item_selected_set(item, EINA_TRUE);
 
        tet_result(TET_PASS);
@@ -98,7 +98,7 @@ static void utc_UIFW_elm_genlist_item_selected_set_func_02(void)
 {
        Elm_Genlist_Item *item = NULL;
 
-       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);      
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
        elm_genlist_item_selected_set(NULL, 1);
 
        tet_result(TET_PASS);
index 5a2c63d..6400126 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index 14d46e2..707a880 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -83,10 +83,10 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_item_subitems_clear_func_01(void)
 {
-   Elm_Genlist_Item *item = NULL;
+       Elm_Genlist_Item *item = NULL;
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);      
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
        elm_genlist_item_subitems_clear(item);
 
        tet_result(TET_PASS);
index 289b56a..db87c61 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index 1b46fb2..e4e3fca 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index 822a3a6..f787618 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index b2c305c..77fbd58 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -55,7 +55,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -72,7 +72,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -83,11 +83,11 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_last_item_get_func_01(void)
 {
-   Elm_Genlist_Item *item = NULL, *result_item = NULL;
+       Elm_Genlist_Item *item = NULL, *result_item = NULL;
+
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);   
-   
        result_item = elm_genlist_last_item_get(genlist);
 
        if (!result_item) {
@@ -103,11 +103,11 @@ static void utc_UIFW_elm_genlist_last_item_get_func_01(void)
  */
 static void utc_UIFW_elm_genlist_last_item_get_func_02(void)
 {
-   Elm_Genlist_Item *item = NULL, *result_item = NULL;
+       Elm_Genlist_Item *item = NULL, *result_item = NULL;
+
+       item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
+                       ELM_GENLIST_ITEM_NONE, NULL, NULL);
 
-   item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
-                       ELM_GENLIST_ITEM_NONE, NULL, NULL);   
-   
        result_item = elm_genlist_last_item_get(NULL);
 
        if (result_item) {
index 9e9c8e3..91211cd 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -103,7 +103,7 @@ static void utc_UIFW_elm_genlist_longpress_timeout_get_func_01(void)
 {
        double r = 0.0;
 
-       r = elm_genlist_longpress_timeout_get(genlist);
+       r = elm_genlist_longpress_timeout_get(genlist);
 
        if (!r) {
                tet_infoline("elm_genlist_longpress_timeout_get() failed in positive test case");
@@ -120,7 +120,7 @@ static void utc_UIFW_elm_genlist_longpress_timeout_get_func_02(void)
 {
        double r = 0.0;
 
-       r = elm_genlist_longpress_timeout_get(NULL);
+       r = elm_genlist_longpress_timeout_get(NULL);
        if (r) {
                tet_infoline("elm_genlist_longpress_timeout_get() failed in negative test case");
                tet_result(TET_FAIL);
index 33edeb3..b4c4391 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index bc4bbba..3961e64 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -103,7 +103,7 @@ static void cleanup(void)
 static void utc_UIFW_elm_genlist_multi_select_get_func_01(void)
 {
        Eina_Bool  res  = EINA_FALSE;
-       res = elm_genlist_multi_select_get(genlist);
+       res = elm_genlist_multi_select_get(genlist);
        if (!res) {
                tet_infoline("elm_genlist_multi_select_get() failed in positive test case");
                tet_result(TET_FAIL);
@@ -118,7 +118,7 @@ static void utc_UIFW_elm_genlist_multi_select_get_func_01(void)
 static void utc_UIFW_elm_genlist_multi_select_get_func_02(void)
 {
        Eina_Bool  res  = EINA_FALSE;
-       res = elm_genlist_multi_select_get(NULL);
+       res = elm_genlist_multi_select_get(NULL);
        if (res) {
                tet_infoline("elm_genlist_multi_select_get() failed in negative test case");
                tet_result(TET_FAIL);
index 7999cf5..cb39112 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -100,7 +100,7 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_multi_select_set_func_01(void)
 {
-       elm_genlist_multi_select_set(genlist, EINA_TRUE);
+       elm_genlist_multi_select_set(genlist, EINA_TRUE);
        tet_result(TET_PASS);
 }
 
@@ -109,6 +109,6 @@ static void utc_UIFW_elm_genlist_multi_select_set_func_01(void)
  */
 static void utc_UIFW_elm_genlist_multi_select_set_func_02(void)
 {
-       elm_genlist_multi_select_set(NULL, EINA_TRUE);
+       elm_genlist_multi_select_set(NULL, EINA_TRUE);
        tet_result(TET_PASS);
 }
index 1d02279..35911f5 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -67,7 +67,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -103,7 +103,7 @@ static void utc_UIFW_elm_genlist_no_select_mode_get_func_01(void)
        Eina_Bool ret_mode = EINA_FALSE, my_mode = EINA_TRUE;
 
        elm_genlist_no_select_mode_set(genlist, my_mode);
-       ret_mode = elm_genlist_no_select_mode_get(genlist);
+       ret_mode = elm_genlist_no_select_mode_get(genlist);
 
        if (ret_mode != my_mode) {
                tet_infoline("elm_genlist_no_select_mode_get() failed in positive test case");
@@ -121,7 +121,7 @@ static void utc_UIFW_elm_genlist_no_select_mode_get_func_02(void)
        Eina_Bool ret_mode = EINA_FALSE, my_mode = EINA_TRUE;
 
        elm_genlist_no_select_mode_set(genlist, my_mode);
-       ret_mode = elm_genlist_no_select_mode_get(NULL);
+       ret_mode = elm_genlist_no_select_mode_get(NULL);
 
        if (ret_mode == my_mode) {
                tet_infoline("elm_genlist_no_select_mode_get() failed in negative test case");
index a19beda..5593fba 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index b36f348..55dc312 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -67,7 +67,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -88,7 +88,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -102,16 +102,16 @@ static void utc_UIFW_elm_genlist_pinch_zoom_mode_get_func_01(void)
        Eina_Bool ret_mode = EINA_FALSE, my_mode = EINA_TRUE;
 
        elm_genlist_pinch_zoom_mode_set(genlist, my_mode);
-       ret_mode = elm_genlist_pinch_zoom_mode_get(genlist);
+       ret_mode = elm_genlist_pinch_zoom_mode_get(genlist);
 
        //TODO ::: bug!!! fix this!!!
        /*
-       if (ret_mode != my_mode) {
-               tet_infoline("elm_genlist_pinch_zoom_mode_get() failed in positive test case");
-               tet_result(TET_FAIL);
-               return;
-       }
-       */
+          if (ret_mode != my_mode) {
+          tet_infoline("elm_genlist_pinch_zoom_mode_get() failed in positive test case");
+          tet_result(TET_FAIL);
+          return;
+          }
+        */
        tet_result(TET_PASS);
 }
 
@@ -123,8 +123,8 @@ static void utc_UIFW_elm_genlist_pinch_zoom_mode_get_func_02(void)
        Eina_Bool ret_mode = EINA_FALSE, my_mode = EINA_TRUE;
 
        elm_genlist_pinch_zoom_mode_set(genlist, my_mode);
-       ret_mode = elm_genlist_pinch_zoom_mode_get(NULL);
-       
+       ret_mode = elm_genlist_pinch_zoom_mode_get(NULL);
+
        if (ret_mode == my_mode) {
                tet_infoline("elm_genlist_pinch_zoom_mode_get() failed in negative test case");
                tet_result(TET_FAIL);
index 4f39174..2cc23fc 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -100,8 +100,8 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_pinch_zoom_mode_set_func_01(void)
 {
-       elm_genlist_pinch_zoom_mode_set(genlist, EINA_TRUE);
-       tet_result(TET_PASS);
+       elm_genlist_pinch_zoom_mode_set(genlist, EINA_TRUE);
+       tet_result(TET_PASS);
 }
 
 /**
@@ -109,6 +109,6 @@ static void utc_UIFW_elm_genlist_pinch_zoom_mode_set_func_01(void)
  */
 static void utc_UIFW_elm_genlist_pinch_zoom_mode_set_func_02(void)
 {
-       elm_genlist_pinch_zoom_mode_set(NULL, EINA_TRUE);
-       tet_result(TET_PASS);
+       elm_genlist_pinch_zoom_mode_set(NULL, EINA_TRUE);
+       tet_result(TET_PASS);
 }
index c900a6d..d0c55ad 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -101,7 +101,7 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_pinch_zoom_set_func_01(void)
 {
-       elm_genlist_pinch_zoom_set(genlist, EINA_TRUE);
+       elm_genlist_pinch_zoom_set(genlist, EINA_TRUE);
        tet_result(TET_PASS);
 }
 
@@ -110,6 +110,6 @@ static void utc_UIFW_elm_genlist_pinch_zoom_set_func_01(void)
  */
 static void utc_UIFW_elm_genlist_pinch_zoom_set_func_02(void)
 {
-       elm_genlist_pinch_zoom_set(NULL, EINA_TRUE);
+       elm_genlist_pinch_zoom_set(NULL, EINA_TRUE);
        tet_result(TET_PASS);
 }
index 1e209e0..a2189fd 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -89,7 +89,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -100,11 +100,11 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_realized_items_get_func_01(void)
 {
-   Eina_List *ret = NULL;
-   
-   ret = elm_genlist_realized_items_get(genlist);
+       Eina_List *ret = NULL;
 
-       tet_result(TET_PASS);   
+       ret = elm_genlist_realized_items_get(genlist);
+
+       tet_result(TET_PASS);
 }
 
 /**
@@ -112,14 +112,14 @@ static void utc_UIFW_elm_genlist_realized_items_get_func_01(void)
  */
 static void utc_UIFW_elm_genlist_realized_items_get_func_02(void)
 {
-   Eina_List *ret = NULL;
-   
-   ret = elm_genlist_realized_items_get(NULL);
+       Eina_List *ret = NULL;
+
+       ret = elm_genlist_realized_items_get(NULL);
 
        if (ret) {
                tet_infoline("elm_genlist_realized_items_get() failed in negative test case");
                tet_result(TET_FAIL);
                return;
        }
-       tet_result(TET_PASS);   
+       tet_result(TET_PASS);
 }
index 0b7e7a3..fe8e4a4 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -69,7 +69,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
index 8d496f8..e5dd2d1 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -82,7 +82,7 @@ static void startup(void)
        for (index = 0; index < 5; index++) {
                item = elm_genlist_item_append(genlist, &itc, (void *) index, NULL,
                                ELM_GENLIST_ITEM_NONE, NULL, NULL);
-      elm_genlist_item_selected_set(item, 1);
+               elm_genlist_item_selected_set(item, 1);
        }
 }
 
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -101,16 +101,16 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_selected_item_get_func_01(void)
 {
-   Elm_Genlist_Item *ret = NULL;
-   
-   ret = elm_genlist_selected_item_get(genlist);
+       Elm_Genlist_Item *ret = NULL;
+
+       ret = elm_genlist_selected_item_get(genlist);
 
        if (!ret) {
-               tet_infoline("elm_genlist_selected_item_get() failed in positive test case");      
+               tet_infoline("elm_genlist_selected_item_get() failed in positive test case");
                tet_result(TET_FAIL);
                return;
        }
-       tet_result(TET_PASS);   
+       tet_result(TET_PASS);
 }
 
 /**
@@ -118,14 +118,14 @@ static void utc_UIFW_elm_genlist_selected_item_get_func_01(void)
  */
 static void utc_UIFW_elm_genlist_selected_item_get_func_02(void)
 {
-   Elm_Genlist_Item *ret = NULL;
-   
-   ret = elm_genlist_selected_item_get(NULL);
+       Elm_Genlist_Item *ret = NULL;
+
+       ret = elm_genlist_selected_item_get(NULL);
 
        if (ret) {
                tet_infoline("elm_genlist_selected_item_get() failed in negative test case");
                tet_result(TET_FAIL);
                return;
        }
-       tet_result(TET_PASS);   
+       tet_result(TET_PASS);
 }
index a2b550c..3df94fa 100644 (file)
@@ -7,11 +7,11 @@
 { \
        Evas_Object *err = y; \
        if (err == (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               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.
 { \
        Evas_Object *err = y; \
        if (err != (x1)) \
-               { \
-                       tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
-                       tet_result(TET_FAIL); \
-                       return; \
-               } \
+       { \
+               tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+               tet_result(TET_FAIL); \
+               return; \
+       } \
 }
 
 
@@ -68,7 +68,7 @@ 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);     
+       evas_object_show(main_win);
        genlist = elm_genlist_add(main_win);
        evas_object_show(genlist);
        elm_win_resize_object_add(main_win, genlist);
@@ -82,7 +82,7 @@ static void startup(void)
        for (index = 0; index < 5; index++) {
                item = elm_genlist_item_append(genlist, &itc, (void *) index, NULL,
                                ELM_GENLIST_ITEM_NONE, NULL, NULL);
-      elm_genlist_item_selected_set(item, 1);
+               elm_genlist_item_selected_set(item, 1);
        }
 }
 
@@ -90,7 +90,7 @@ static void cleanup(void)
 {
        if ( NULL != main_win ) {
                evas_object_del(main_win);
-               main_win = NULL;
+               main_win = NULL;
        }
        elm_shutdown();
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
@@ -101,16 +101,16 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_genlist_selected_items_get_func_01(void)
 {
-   const Eina_List *ret = NULL;
-   
-   ret = elm_genlist_selected_items_get(genlist);
+       const Eina_List *ret = NULL;
+
+       ret = elm_genlist_selected_items_get(genlist);
 
        if (!ret) {
-               tet_infoline("elm_genlist_selected_items_get() failed in positive test case");      
+               tet_infoline("elm_genlist_selected_items_get() failed in positive test case");
                tet_result(TET_FAIL);
                return;
        }
-       tet_result(TET_PASS);   
+       tet_result(TET_PASS);
 }
 
 /**
@@ -118,14 +118,14 @@ static void utc_UIFW_elm_genlist_selected_items_get_func_01(void)
  */
 static void utc_UIFW_elm_genlist_selected_items_get_func_02(void)
 {
-   const Eina_List *ret = NULL;
-   
-   ret = elm_genlist_selected_items_get(NULL);
+       const Eina_List *ret = NULL;
+
+       ret = elm_genlist_selected_items_get(NULL);
 
        if (ret) {
                tet_infoline("elm_genlist_selected_items_get() failed in negative test case");
                tet_result(TET_FAIL);
                return;
        }
-       tet_result(TET_PASS);   
+       tet_result(TET_PASS);
 }
index d86d675..269cddd 100644 (file)
@@ -116,7 +116,7 @@ static void utc_UIFW_elm_navigationbar_title_button_get_func_02(void)
        elm_button_label_set(button, "next");
 
        elm_navigationbar_push(navibar, "title", NULL, NULL, NULL, content);
-       Evas_Object *btn = elm_navigationbar_title_button_get(navibar, content, ELM_NAVIGATIONBAR_FUNCTION_BUTTON1);
+       Evas_Object *btn = elm_navigationbar_title_button_get(NULL, content, ELM_NAVIGATIONBAR_FUNCTION_BUTTON1);
        if (btn) {
                tet_infoline("elm_navigationbar_title_button_get() failed in negative test case");
                tet_result(TET_FAIL);
index 75f0764..ae13e3b 100644 (file)
@@ -95,7 +95,7 @@ static void utc_UIFW_elm_popup_add_func_02(void)
 
        popup = elm_popup_add(NULL);
 
-       if (!popup) {
+       if (popup) {
                tet_infoline("elm_popup_add() with parent as NULL failed in positive test case");
                tet_result(TET_FAIL);
                return;
index bf1b2ba..a4384c6 100644 (file)
@@ -91,7 +91,7 @@ static void utc_UIFW_elm_popup_with_buttons_add_func_02(void)
        Evas_Object *popup = NULL;
        popup = elm_popup_with_buttons_add(NULL, "title", "this is text", 1, "ok", ELM_POPUP_RESPONSE_OK, NULL);
                
-       if (!popup) {
+       if (popup) {
                tet_infoline("elm_popup_with_buttons_add() parent as NULL failed in positive test case");
                tet_result(TET_FAIL);
                return;
index f4a8e8d..fcedaeb 100755 (executable)
@@ -18,7 +18,7 @@ TARGETS = utc_UIFW_elm_scroller_add_func \
 
 
 
-PKGS = elementary
+PKGS = elementary evas
 
 LDFLAGS = `pkg-config --libs $(PKGS)`
 LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o
@@ -31,8 +31,8 @@ CFLAGS += -Wall
 
 all: $(TARGETS)
 
-$(TARGET): %: %.c
-       $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
+$(TARGETS): %: %.c
+       $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
 
 clean:
        rm -f $(TARGETS)
index 2ba6828..361f469 100644 (file)
@@ -18,7 +18,6 @@ elm
    :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
@@ -48,6 +47,7 @@ elm
    :include:/elm_ts/conformant/tslist
 # below will be deprecated.
 #:include:/elm_ts/stackedicon/tslist
+#:include:/elm_ts/bubble/tslist
 
 #yhkim
 ch 
index 3f1875d..d957bfe 100755 (executable)
@@ -18,7 +18,6 @@ elm
    :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
@@ -48,6 +47,7 @@ elm
    :include:/elm_ts/conformant/tslist
 # below will be deprecated.
 #:include:/elm_ts/stackedicon/tslist
+#:include:/elm_ts/bubble/tslist
 
 #yhkim
 ch 
index 52d81a3..db8277b 100644 (file)
@@ -476,7 +476,7 @@ static void      _theme_hook(Evas_Object *obj);
 static void      _show_region_hook(void        *data,
                                    Evas_Object *obj);
 static void      _sizing_eval(Evas_Object *obj);
-static void      _item_unrealize(Elm_Genlist_Item *it);
+static void      _item_unrealize(Elm_Genlist_Item *it, Eina_Bool calc);
 static void      _item_block_unrealize(Item_Block *itb);
 static void      _calc_job(void *data);
 static void      _on_focus_hook(void        *data,
@@ -1007,7 +1007,7 @@ _item_del(Elm_Genlist_Item *it)
    it->wd->walking -= it->walking;
    if (it->wd->show_item == it) it->wd->show_item = NULL;
    if (it->selected) it->wd->selected = eina_list_remove(it->wd->selected, it);
-   if (it->realized) _item_unrealize(it);
+   if (it->realized) _item_unrealize(it, EINA_FALSE);
    if (it->effect_item_realized) _effect_item_unrealize(it);
    if (it->block) _item_block_del(it);
    if ((!it->delete_me) && (it->itc->func.del))
@@ -1593,7 +1593,7 @@ _mouse_up(void        *data,
      {
         if (it->want_unrealize)
           {
-             _item_unrealize(it);
+             _item_unrealize(it, EINA_FALSE);
              if (it->block->want_unrealize)
                _item_block_unrealize(it->block);
           }
@@ -2110,7 +2110,7 @@ _item_realize(Elm_Genlist_Item *it,
    it->want_unrealize = EINA_FALSE;
 
    if (itc) _item_cache_free(itc);
-   evas_object_smart_callback_call(it->base.widget, "realized", it);
+   if (!calc) evas_object_smart_callback_call(it->base.widget, "realized", it);
    if ((!calc) && (it->wd->edit_mode) && (it->flags != ELM_GENLIST_ITEM_GROUP))
      {
         if (it->itc->edit_item_style )
@@ -2122,13 +2122,13 @@ _item_realize(Elm_Genlist_Item *it,
 }
 
 static void
-_item_unrealize(Elm_Genlist_Item *it)
+_item_unrealize(Elm_Genlist_Item *it, Eina_Bool calc)
 {
    Evas_Object *icon;
 
    if (!it->realized) return;
    if (it->wd->reorder_it && it->wd->reorder_it == it) return;
-   evas_object_smart_callback_call(it->base.widget, "unrealized", it);
+   if (!calc) evas_object_smart_callback_call(it->base.widget, "unrealized", it);
    if (it->long_timer)
      {
         ecore_timer_del(it->long_timer);
@@ -2187,13 +2187,13 @@ _item_block_recalc(Item_Block *itb,
                   if (changed)
                     {
                        _item_realize(it, in, EINA_TRUE);
-                       _item_unrealize(it);
+                       _item_unrealize(it, EINA_TRUE);
                     }
                }
              else
                {
                   _item_realize(it, in, EINA_TRUE);
-                  if (!it->wd->contracting) _item_unrealize(it);
+                  if (!it->wd->contracting) _item_unrealize(it, EINA_TRUE);
                }
           }
         else
@@ -2250,7 +2250,7 @@ _item_block_unrealize(Item_Block *itb)
                   it->want_unrealize = EINA_TRUE;
                }
              else
-                if (!it->wd->contracting) _item_unrealize(it);
+                if (!it->wd->contracting) _item_unrealize(it, EINA_FALSE);
           }
      }
    if (!dragging)
@@ -2451,7 +2451,7 @@ _item_block_position(Item_Block *itb,
                     }
                   else
                     {
-                       if (!it->dragging) _item_unrealize(it);
+                       if (!it->dragging) _item_unrealize(it, EINA_FALSE);
                     }
                }
              in++;
@@ -2496,7 +2496,7 @@ _group_items_recalc(void *data)
         else if (!git->want_realize && git->realized)
           {
              if (!git->dragging)
-               _item_unrealize(git);
+               _item_unrealize(git, EINA_FALSE);
           }
      }
 }
@@ -2678,14 +2678,14 @@ _update_job(void *data)
                 it->updateme = EINA_FALSE;
                 if (it->realized)
                   {
-                     _item_unrealize(it);
+                     _item_unrealize(it, EINA_FALSE);
                      _item_realize(it, num, 0);
                      position = 1;
                   }
                 else
                   {
                      _item_realize(it, num, 1);
-                     _item_unrealize(it);
+                     _item_unrealize(it, EINA_TRUE);
                   }
                 if ((it->minw != itminw) || (it->minh != itminh))
                   recalc = 1;
@@ -3862,7 +3862,7 @@ elm_genlist_clear(Evas_Object *obj)
         if (it->flags & ELM_GENLIST_ITEM_GROUP)
           it->wd->group_items = eina_list_remove(it->wd->group_items, it);
         elm_widget_item_pre_notify_del(it);
-        if (it->realized) _item_unrealize(it);
+        if (it->realized) _item_unrealize(it, EINA_FALSE);
         if (((wd->clear_me) || (!it->delete_me)) && (it->itc->func.del))
           it->itc->func.del((void *)it->base.data, it->base.widget);
         if (it->long_timer) ecore_timer_del(it->long_timer);
@@ -4776,7 +4776,7 @@ elm_genlist_item_del(Elm_Genlist_Item *it)
                                               it);
         if (it->block)
           {
-             if (it->realized) _item_unrealize(it);
+             if (it->realized) _item_unrealize(it, EINA_FALSE);
              it->block->changed = EINA_TRUE;
              if (it->wd->calc_job) ecore_job_del(it->wd->calc_job);
              it->wd->calc_job = ecore_job_add(_calc_job, it->wd);
@@ -6332,7 +6332,7 @@ elm_genlist_item_rename_mode_set(Elm_Genlist_Item *it, Eina_Bool renamed)
 
    if (renamed)
      {
-        _item_unrealize(it);
+        _item_unrealize(it, EINA_FALSE);
         it->renamed = EINA_TRUE;
         it->wd->rename_it = it;
         it->nocache = EINA_TRUE;