Modify: UIFW_edje_text_class_set test 83/318183/1
authorBowon Ryu <bowon.ryu@samsung.com>
Wed, 25 Sep 2024 09:04:21 +0000 (18:04 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Wed, 25 Sep 2024 09:04:21 +0000 (18:04 +0900)
Fix due to change in behavior of edje_text_class_set. (null font is allowed)
If the font is set to null, the return is also null.

https://review.tizen.org/gerrit/#/c/platform/upstream/efl/+/317999/

Change-Id: Ia43309f14c56bca441792ac32c94119011aa2724
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
TC/edje/edje_text/utc_edje_text_class_set.c

index a9cb296d957561185f68a58cfba78f86f3192418..4e19bd2355a4c97f6bbbf41edaddbc8c97da633d 100644 (file)
@@ -145,7 +145,7 @@ START_TEST(utc_UIFW_edje_text_class_set_n_2)
         edje_text_class_del(text_class_name);
         return;
      }
-   if (!returned_font || strcmp(returned_font, ""))
+   if (returned_font)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
         edje_text_class_del(text_class_name);