[elm_ts]Test case build errors are corrected in navigation bar_ex.
authorsumanth <sumanth.m@samsung.com>
Tue, 10 May 2011 15:12:59 +0000 (20:42 +0530)
committersumanth <sumanth.m@samsung.com>
Tue, 10 May 2011 15:12:59 +0000 (20:42 +0530)
Change-Id: I8f643359a98b6f5868199a83a97b3548ccdc6da9

TC/elm_ts/navigationbar_ex/utc_UIFW_elm_navigationbar_ex_item_title_object_get_func.c
TC/elm_ts/navigationbar_ex/utc_UIFW_elm_navigationbar_ex_item_title_object_set_func.c
TC/elm_ts/navigationbar_ex/utc_UIFW_elm_navigationbar_ex_item_title_object_unset_func.c

index d54fe9a..89948e8 100644 (file)
@@ -62,9 +62,9 @@ static void startup(void)
        evas_object_show(btn);
        item = elm_navigationbar_ex_item_push(navi_ex, btn, "topbar_seg_full");
        Evas_Object *title_obj = elm_segment_control_add(navi_ex);
-       elm_segment_control_add_segment(title_obj, NULL, "Sg1", EINA_FALSE);
-       elm_segment_control_add_segment(title_obj, NULL, "Sg2", EINA_FALSE);
-       elm_segment_control_add_segment(title_obj, NULL, "Sg3", EINA_FALSE);
+       elm_segment_control_item_add(title_obj, NULL, "Sg1" );
+       elm_segment_control_item_add(title_obj, NULL, "Sg2" );
+       elm_segment_control_item_add(title_obj, NULL, "Sg3" );
        evas_object_show(title_obj);
        elm_navigationbar_ex_item_title_object_set(item, title_obj);
        elm_win_resize_object_add(main_win, navi_ex);
index 6fcd3b0..caf6f95 100644 (file)
@@ -80,9 +80,9 @@ static void cleanup(void)
 static void utc_UIFW_elm_navigationbar_ex_item_title_object_set_func_01(void)
 {
        Evas_Object *title_obj = elm_segment_control_add(navi_ex);
-       elm_segment_control_add_segment(title_obj, NULL, "Sg1", EINA_FALSE);
-       elm_segment_control_add_segment(title_obj, NULL, "Sg2", EINA_FALSE);
-       elm_segment_control_add_segment(title_obj, NULL, "Sg3", EINA_FALSE);
+       elm_segment_control_item_add(title_obj, NULL, "Sg1" );
+       elm_segment_control_item_add(title_obj, NULL, "Sg2" );
+       elm_segment_control_item_add(title_obj, NULL, "Sg3" );
        evas_object_show(title_obj);
        elm_navigationbar_ex_item_title_object_set(item, title_obj);
        tet_result(TET_PASS);
@@ -94,9 +94,9 @@ static void utc_UIFW_elm_navigationbar_ex_item_title_object_set_func_01(void)
 static void utc_UIFW_elm_navigationbar_ex_item_title_object_set_func_02(void)
 {
        Evas_Object *title_obj = elm_segment_control_add(navi_ex);
-       elm_segment_control_add_segment(title_obj, NULL, "Sg1", EINA_FALSE);
-       elm_segment_control_add_segment(title_obj, NULL, "Sg2", EINA_FALSE);
-       elm_segment_control_add_segment(title_obj, NULL, "Sg3", EINA_FALSE);
+       elm_segment_control_item_add(title_obj, NULL, "Sg1" );
+       elm_segment_control_item_add(title_obj, NULL, "Sg2" );
+       elm_segment_control_item_add(title_obj, NULL, "Sg3" );
        evas_object_show(title_obj);
        elm_navigationbar_ex_item_title_object_set(NULL, title_obj);
        tet_result(TET_PASS);
index d440391..a229831 100644 (file)
@@ -62,9 +62,9 @@ static void startup(void)
        evas_object_show(btn);
        item = elm_navigationbar_ex_item_push(navi_ex, btn, "topbar_seg_full");
        Evas_Object *title_obj = elm_segment_control_add(navi_ex);
-       elm_segment_control_add_segment(title_obj, NULL, "Sg1", EINA_FALSE);
-       elm_segment_control_add_segment(title_obj, NULL, "Sg2", EINA_FALSE);
-       elm_segment_control_add_segment(title_obj, NULL, "Sg3", EINA_FALSE);
+       elm_segment_control_item_add(title_obj, NULL, "Sg1" );
+       elm_segment_control_item_add(title_obj, NULL, "Sg2" );
+       elm_segment_control_item_add(title_obj, NULL, "Sg3" );
        evas_object_show(title_obj);
        elm_navigationbar_ex_item_title_object_set(item, title_obj);
        elm_win_resize_object_add(main_win, navi_ex);