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);
}
static void cleanup(void)
{
char buf[256];
int j = (int)data;
- snprintf(buf, sizeof(buf), "%c%c",
+ snprintf(buf, sizeof(buf), "%c%c",
'A' + ((j >> 4) & 0xf),
'a' + ((j ) & 0xf)
);
Evas_Object *gl = NULL;
Elm_Index_Item *item = NULL;
int i = 0, j = 0;
-
+
gl = elm_genlist_add(main_win);
- idx= elm_index_add(main_win);
+ idx= elm_index_add(main_win);
evas_object_show(gl);
- evas_object_show(idx);
+ evas_object_show(idx);
itci.item_style = "default";
itci.func.label_get = gli_label_get;
itci.func.icon_get = NULL;
snprintf(buf, sizeof(buf), "%c", 'A' + ((j >> 4) & 0xf));
elm_index_item_append(idx, buf, it);
}
- j += 2;
+ j += 2;
if(i==0) it_gl=it;
}
elm_index_item_go(idx, 0);
- item = elm_index_item_find(idx,it_gl);
+ item = elm_index_item_find(idx,it_gl);
if(!item) {
tet_infoline("elm_index_item_find() failed in positive test case");
tet_result(TET_FAIL);
Elm_Genlist_Item *it = NULL,*it_gl = NULL;
Elm_Index_Item *item = NULL;
int i = 0, j = 0;
-
+
gl = elm_genlist_add(main_win);
- idx= elm_index_add(main_win);
+ idx= elm_index_add(main_win);
evas_object_show(gl);
- evas_object_show(idx);
+ evas_object_show(idx);
itci.item_style = "default";
itci.func.label_get = gli_label_get;
itci.func.icon_get = NULL;
snprintf(buf, sizeof(buf), "%c", 'A' + ((j >> 4) & 0xf));
elm_index_item_append(idx, buf, it);
}
- j += 2;
+ j += 2;
if(i==0) it_gl=it;
}
elm_index_item_go(idx, 0);
- item = elm_index_item_find(NULL,it_gl);
+ item = elm_index_item_find(NULL,it_gl);
if(item) {
tet_infoline("elm_index_item_find() failed in negative test case");
tet_result(TET_FAIL);