From 9f09f362dccd19dfa826f09d24415a2956303dde Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan Date: Tue, 10 May 2011 20:27:40 +0530 Subject: [PATCH] Fixed UTC execution errors for Popup and Navigationbar Change-Id: I7cb160ea669d6176428de4cd9903ee1bd99ac2c9 --- .../navigationbar/utc_UIFW_elm_navigationbar_title_button_get_func.c | 2 +- TC/elm_ts/popup/utc_UIFW_elm_popup_add_func.c | 2 +- TC/elm_ts/popup/utc_UIFW_elm_popup_with_buttons_add_func.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TC/elm_ts/navigationbar/utc_UIFW_elm_navigationbar_title_button_get_func.c b/TC/elm_ts/navigationbar/utc_UIFW_elm_navigationbar_title_button_get_func.c index d86d675..269cddd 100644 --- a/TC/elm_ts/navigationbar/utc_UIFW_elm_navigationbar_title_button_get_func.c +++ b/TC/elm_ts/navigationbar/utc_UIFW_elm_navigationbar_title_button_get_func.c @@ -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); diff --git a/TC/elm_ts/popup/utc_UIFW_elm_popup_add_func.c b/TC/elm_ts/popup/utc_UIFW_elm_popup_add_func.c index 75f0764..ae13e3b 100644 --- a/TC/elm_ts/popup/utc_UIFW_elm_popup_add_func.c +++ b/TC/elm_ts/popup/utc_UIFW_elm_popup_add_func.c @@ -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; diff --git a/TC/elm_ts/popup/utc_UIFW_elm_popup_with_buttons_add_func.c b/TC/elm_ts/popup/utc_UIFW_elm_popup_with_buttons_add_func.c index bf1b2ba..a4384c6 100644 --- a/TC/elm_ts/popup/utc_UIFW_elm_popup_with_buttons_add_func.c +++ b/TC/elm_ts/popup/utc_UIFW_elm_popup_with_buttons_add_func.c @@ -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; -- 2.7.4