Fixed UTC execution errors for Popup and Navigationbar
authorRajeev Ranjan <rajeev.r@samsung.com>
Tue, 10 May 2011 14:57:40 +0000 (20:27 +0530)
committerRajeev Ranjan <rajeev.r@samsung.com>
Tue, 10 May 2011 14:57:40 +0000 (20:27 +0530)
Change-Id: I7cb160ea669d6176428de4cd9903ee1bd99ac2c9

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

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;