Change-Id: Ibe2b98ac511455faca90581c409b677279a406f4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
#include <Elementary.h>
static Evas_Object* g_win;
+static int g_init;
+static int _initialize(void);
/**
* @function utc_tzsh_quickpanel_startup
*/
void utc_tzsh_quickpanel_startup(void)
{
+ _initialize();
}
/* This function should be called by FIRST test case */
static int _initialize(void)
{
+ if (g_init) return 0;
+
Evas_Object *conform = NULL;
elm_init(0, NULL);
evas_object_show(g_win);
+ g_init = 1;
+
return 0;
}
/* This function should be called by LAST test case */
static void _finalize(void)
{
+ g_init = 0;
evas_object_del(g_win);
elm_shutdown();
}
*/
int utc_tzsh_create_n1(void)
{
- /* CALL _initialize by FIRST test case */
- _initialize();
-
tzsh_h tzsh = NULL;
int err_result = 0;