char *ret_str = NULL;
elm_label_label_set(test_eo, NULL);
ret_str = elm_label_label_get(test_eo);
+ if (strcmp(ret_str, "") == 0)
+ ret_str = NULL;
TET_CHECK_FAIL(NULL, ret_str);
tet_result(TET_PASS);
static void utc_UIFW_elm_label_line_wrap_get_func_02(void)
{
test_eo = elm_label_add(test_win);
- elm_label_line_wrap_set(test_eo, 1);
+ elm_label_line_wrap_set(test_eo, 0);
int ret = 0;
ret = elm_label_line_wrap_get(test_eo);
TET_CHECK_FAIL(NULL, ret);
static void utc_UIFW_elm_label_slide_duration_get_func_01(void)
{
test_eo = elm_label_add(test_win);
- char *ret_str = NULL;
elm_label_label_set(test_eo, "test string");
elm_label_slide_duration_set(test_eo, 10);
int r = elm_label_slide_duration_get(test_eo);
TET_CHECK_PASS(10, r);
tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, A Label label get is success.");
+ tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, A Label slide duration get is success.");
}
/**
elm_label_label_set(test_eo, NULL);
elm_label_slide_duration_set(test_eo, 10);
int r = elm_label_slide_duration_get(NULL);
- TET_CHECK_FAIL(10, r);
+ TET_CHECK_FAIL(0, r);
tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, A Label label get is failed.");
+ tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, A Label slide duration get is failed.");
}
TET_CHECK_PASS(EINA_TRUE, r);
tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, A Label label get is success.");
+ tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, A Label slide get is success.");
}
/**
static void utc_UIFW_elm_label_slide_get_func_02(void)
{
Eina_Bool r = elm_label_slide_get(NULL);
- TET_CHECK_FAIL(EINA_TRUE, r);
+ TET_CHECK_FAIL(EINA_FALSE, r);
tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, A Label label get is failed.");
+ tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, A Label slide get is failed.");
}
test_eo = elm_label_add(test_win);
elm_label_wrap_width_set(test_eo, 10);
int ret = 0;
- ret = elm_label_wrap_width_get(test_eo);
+ ret = elm_label_wrap_width_get(NULL);
TET_CHECK_FAIL(NULL, ret);
tet_result(TET_PASS);