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);
+
controlbar = elm_controlbar_add(main_win);
view = elm_layout_add(controlbar);
evas_object_del(view);
view = NULL;
}
-
+
elm_shutdown();
tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
}
Elm_Controlbar_Item *item2 = NULL;
item = elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
item2 = elm_controlbar_tab_item_insert_before(controlbar, item, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
-
+
if (!item2) {
tet_infoline("elm_controlbar_tab_item_insert_before() failed in positive test case");
tet_result(TET_FAIL);
Elm_Controlbar_Item *item2 = NULL;
item = elm_controlbar_tab_item_append(controlbar, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
item2 = elm_controlbar_tab_item_insert_before(controlbar, NULL, CONTROLBAR_SYSTEM_ICON_SONGS, "Songs", view);
-
+
if (item2) {
tet_infoline("elm_controlbar_tab_item_insert_before() failed in negative test case");
tet_result(TET_FAIL);