From: se.osadchy Date: Wed, 19 Apr 2017 15:31:26 +0000 (+0300) Subject: elm_config: Update elm_config_font_hint_type_set test X-Git-Tag: submit/tizen/20180518.112503~121^2~17^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=332a6f193080e4b60301afc75b9a0434a21e5200;p=test%2Ftct%2Fnative%2Fefl-test-suite.git elm_config: Update elm_config_font_hint_type_set test Change-Id: I7534217712ac5f5037996df252b7ffc32accc05c Signed-off-by: Sergey Osadchy --- diff --git a/TC/elementary/general/utc_elm_config_font_hint_type_set.c b/TC/elementary/general/utc_elm_config_font_hint_type_set.c index 5604a5f9..00679ff6 100644 --- a/TC/elementary/general/utc_elm_config_font_hint_type_set.c +++ b/TC/elementary/general/utc_elm_config_font_hint_type_set.c @@ -2,6 +2,7 @@ #include static Eina_Bool startup_status = EINA_FALSE; +Evas_Object *main_win = NULL; /** * @addtogroup elm_general @@ -19,11 +20,23 @@ setup(void) { startup_status = EINA_TRUE; } + + main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC); + if (main_win == NULL) + { + ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__); + } + evas_object_show(main_win); } static void teardown(void) { + if (main_win != NULL) + { + evas_object_del(main_win); + } + elm_shutdown(); printf(" ============ Cleanup ============ \n"); }