my_data = (char *)calloc(sizeof(char), 10);
strcpy(my_data, data);
elm_genlist_item_data_set(it, my_data);
- get_data = elm_genlist_item_data_get(it);
+ get_data = (char *)elm_genlist_item_data_get(it);
if (get_data != my_data) {
tet_infoline("elm_genlist_add() failed in positive test case");
*/
static void utc_UIFW_elm_genlist_item_data_get_func_02(void)
{
- elm_genlist_item_data_get(NULL, NULL);
+ elm_genlist_item_data_get(NULL);
tet_result(TET_PASS);
}
*/
static void utc_UIFW_elm_genlist_item_disabled_set_func_01(void)
{
- Elm_Genlist_Item *item = NULL;
- Eina_Bool ret = EINA_FALSE;
+ Elm_Genlist_Item *item = NULL;
+ Eina_Bool ret = EINA_FALSE;
- item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
- ELM_GENLIST_ITEM_NONE, NULL, NULL);
- elm_genlist_item_disabled_set(item, 1);
+ item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_disabled_set(item, EINA_TRUE);
ret = elm_genlist_item_disabled_get(item);
*/
static void utc_UIFW_elm_genlist_item_disabled_set_func_02(void)
{
- Elm_Genlist_Item *item = NULL;
- Eina_Bool ret = EINA_FALSE;
+ Elm_Genlist_Item *item = NULL;
- item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
- ELM_GENLIST_ITEM_NONE, NULL, NULL);
-
- elm_genlist_item_disabled_set(NULL,0);
+ item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_disabled_set(NULL, EINA_FALSE);
tet_result(TET_PASS);
}
*/
static void utc_UIFW_elm_genlist_item_display_only_set_func_01(void)
{
- Elm_Genlist_Item *item = NULL;
- Eina_Bool ret = EINA_FALSE;
+ Elm_Genlist_Item *item = NULL;
+ Eina_Bool ret = EINA_FALSE;
- item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
- ELM_GENLIST_ITEM_NONE, NULL, NULL);
- elm_genlist_item_display_only_set(item, 1);
+ item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_display_only_set(item, EINA_TRUE);
ret = elm_genlist_item_display_only_get(item);
*/
static void utc_UIFW_elm_genlist_item_display_only_set_func_02(void)
{
- Elm_Genlist_Item *item = NULL;
- Eina_Bool ret = EINA_FALSE;
+ Elm_Genlist_Item *item = NULL;
- item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL,
- ELM_GENLIST_ITEM_NONE, NULL, NULL);
-
- elm_genlist_item_display_only_set(NULL, 0);
+ item = elm_genlist_item_append(genlist, &itc, (void *) 0, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ elm_genlist_item_display_only_set(NULL, EINA_FALSE);
tet_result(TET_PASS);
}
*/
static void utc_UIFW_elm_genlist_scroller_policy_set_func_01(void)
{
- elm_genlist_scroller_policy_set(it, ELM_SCROLLER_POLICY_ON, ELM_SCROLLER_POLICY_OFF);
+ elm_genlist_scroller_policy_set(genlist, ELM_SCROLLER_POLICY_ON, ELM_SCROLLER_POLICY_OFF);
tet_result(TET_PASS);
}