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);
popup = elm_popup_add(main_win);
Evas_Object *icon = elm_icon_add(popup);
snprintf(buf, sizeof(buf), "%s/logo_small.png", ICON_DIR);
elm_icon_file_set(icon, buf, NULL);
evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
elm_icon_scale_set(icon, 1, 1);
-
+
elm_popup_title_icon_set(popup,icon);
- evas_object_show(popup);
+ evas_object_show(popup);
}
static void cleanup(void)
*/
static void utc_UIFW_elm_popup_title_icon_get_func_01(void)
{
-
+
Evas_Object *icon = NULL;
icon = elm_popup_title_icon_get(popup);
-
+
if (!icon) {
tet_infoline("elm_popup_title_icon_get() failed in positive test case");
tet_result(TET_FAIL);
{
Evas_Object *icon = NULL;
icon = elm_popup_title_icon_get(NULL);
-
+
if (icon) {
tet_infoline("elm_popup_title_icon_get() failed in negative test case");
tet_result(TET_FAIL);