*/
static void utc_UIFW_elm_label_slide_get_func_01(void)
{
- test_eo = elm_label_add(test_win);
- elm_label_label_set(test_eo, "test string");
- elm_label_slide_set(test_eo, EINA_TRUE);
- Eina_Bool r = elm_label_slide_get(test_eo);
- TET_CHECK_PASS(EINA_FALSE, r);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, A Label slide get is success.");
+ test_eo = elm_label_add(test_win);
+ elm_object_text_set(test_eo, "test string");
+ elm_label_slide_set(test_eo, EINA_TRUE);
+ Eina_Bool r = elm_label_slide_get(test_eo);
+
+ if (!r) {
+ tet_infoline("elm_label_slide_get() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
}
/**
*/
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_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, A Label slide get is failed.");
+ Eina_Bool r = elm_label_slide_get(NULL);
+
+ if(r) {
+ tet_result(TET_FAIL);
+ tet_infoline("elm_label_slide_get() failed in negative test case");
+ return;
+ }
+ tet_result(TET_PASS);
}