--- /dev/null
+#!/bin/sh
+
+TMPSTR=$0
+SCRIPT=${TMPSTR##*/}
+
+if [ $# -lt 3 ]; then
+ echo "Usage) $SCRIPT module_name winset_name api_name"
+ exit 1
+fi
+
+MODULE=$1
+WINSET=$2
+API=$3
+TEMPLATE=utc_MODULE_API_func.c.in
+TESTCASE=utc_${MODULE}_${API}_func
+
+sed -e '
+ s^@API@^'"$API"'^g
+ s^@MODULE@^'"$MODULE"'^g
+ ' $TEMPLATE > $TESTCASE.c
+
+if [ ! -e "$TESTCASE.c" ]; then
+ echo "Failed"
+ exit 1
+fi
+
+echo "/elm_ts/$WINSET/$TESTCASE" >> tslist
+
+echo "Testcase file is $TESTCASE.c"
+echo "$TESTCASE is added to tslist"
+echo "Done"
+echo "please put \"$TESTCASE\" as Target in Makefile"
--- /dev/null
+/elm_ts/transit/utc_UIFW_elm_transit_add_func
+/elm_ts/transit/utc_UIFW_elm_transit_del_func
+/elm_ts/transit/utc_UIFW_elm_transit_run_func
+/elm_ts/transit/utc_UIFW_elm_transit_stop_func
+/elm_ts/transit/utc_UIFW_elm_transit_completion_callback_set_func
+/elm_ts/transit/utc_UIFW_elm_transit_repeat_set_func
+/elm_ts/transit/utc_UIFW_elm_transit_auto_reverse_set_func
+/elm_ts/transit/utc_UIFW_elm_transit_curve_style_set_func
+/elm_ts/transit/utc_UIFW_elm_transit_event_block_disabled_set_func
+/elm_ts/transit/utc_UIFW_elm_transit_fx_insert_func
+/elm_ts/transit/utc_UIFW_elm_transit_fx_clear_func
+/elm_ts/transit/utc_UIFW_elm_transit_event_block_disabled_get_func
+/elm_ts/transit/utc_UIFW_elm_transit_pause_func
+/elm_ts/transit/utc_UIFW_elm_transit_resume_func
+/elm_ts/transit/utc_UIFW_elm_fx_translation_add_func
+/elm_ts/transit/utc_UIFW_elm_fx_resizing_add_func
+/elm_ts/transit/utc_UIFW_elm_fx_zoom_add_func
+/elm_ts/transit/utc_UIFW_elm_fx_flip_add_func
+/elm_ts/transit/utc_UIFW_elm_fx_blend_add_func
+/elm_ts/transit/utc_UIFW_elm_fx_fade_add_func
+/elm_ts/transit/utc_UIFW_elm_fx_rotation_add_func
+/elm_ts/transit/utc_UIFW_elm_fx_rotation3d_add_func
+/elm_ts/transit/utc_UIFW_elm_fx_color_add_func
+/elm_ts/transit/utc_UIFW_elm_fx_wipe_add_func
+/elm_ts/transit/utc_UIFW_elm_fx_resizable_flip_add_func
+/elm_ts/transit/utc_UIFW_elm_fx_image_animation_add_func
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_@MODULE@_@API@_func_01(void);
+static void utc_@MODULE@_@API@_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_@MODULE@_@API@_func_01, POSITIVE_TC_IDX },
+ { utc_@MODULE@_@API@_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of @API@()
+ */
+static void utc_@MODULE@_@API@_func_01(void)
+{
+ int r = 0;
+
+/*
+ r = @API@(...);
+*/
+ if (!r) {
+ tet_infoline("@API@() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init @API@()
+ */
+static void utc_@MODULE@_@API@_func_02(void)
+{
+ int r = 0;
+
+/*
+ r = @API@(...);
+*/
+ if (r) {
+ tet_infoline("@API@() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_fx_blend_add_func_01(void);
+static void utc_UIFW_elm_fx_blend_add_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_fx_blend_add_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_fx_blend_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_fx_blend_add()
+ */
+static void utc_UIFW_elm_fx_blend_add_func_01(void)
+{
+ Elm_Effect *effect = elm_fx_blend_add(main_win, main_win);
+
+ if (effect == NULL) {
+ tet_infoline("elm_fx_blend_add() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_fx_blend_add()
+ */
+static void utc_UIFW_elm_fx_blend_add_func_02(void)
+{
+ Elm_Effect *effect = elm_fx_blend_add(NULL, NULL);
+
+ if (effect != NULL) {
+ tet_infoline("elm_fx_blend_add() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_fx_color_add_func_01(void);
+static void utc_UIFW_elm_fx_color_add_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_fx_color_add_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_fx_color_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_fx_color_add()
+ */
+static void utc_UIFW_elm_fx_color_add_func_01(void)
+{
+ Elm_Effect *effect = elm_fx_color_add(main_win, 255, 255, 0, 255, 255, 255, 255, 255);
+
+ if (effect == NULL) {
+ tet_infoline("elm_fx_color_add() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_fx_color_add()
+ */
+static void utc_UIFW_elm_fx_color_add_func_02(void)
+{
+ Elm_Effect *effect = elm_fx_color_add(NULL, 255, 255, 0, 255, 255, 255, 255, 255);
+
+ if (effect != NULL) {
+ tet_infoline("elm_fx_color_add() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_fx_fade_add_func_01(void);
+static void utc_UIFW_elm_fx_fade_add_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_fx_fade_add_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_fx_fade_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_fx_fade_add()
+ */
+static void utc_UIFW_elm_fx_fade_add_func_01(void)
+{
+ Elm_Effect *effect = elm_fx_fade_add(main_win, main_win);
+
+ if (effect == NULL) {
+ tet_infoline("elm_fx_fade_add() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_fx_fade_add()
+ */
+static void utc_UIFW_elm_fx_fade_add_func_02(void)
+{
+ Elm_Effect *effect = elm_fx_fade_add(NULL, NULL);
+
+ if (effect != NULL) {
+ tet_infoline("elm_fx_fade_add() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_fx_flip_add_func_01(void);
+static void utc_UIFW_elm_fx_flip_add_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_fx_flip_add_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_fx_flip_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_fx_flip_add()
+ */
+static void utc_UIFW_elm_fx_flip_add_func_01(void)
+{
+ Elm_Effect *effect = elm_fx_flip_add(main_win, main_win, ELM_FX_FLIP_AXIS_Y, EINA_TRUE);
+
+ if (effect == NULL) {
+ tet_infoline("elm_fx_flip_add() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_fx_flip_add()
+ */
+static void utc_UIFW_elm_fx_flip_add_func_02(void)
+{
+ Elm_Effect *effect = elm_fx_flip_add(NULL, main_win, ELM_FX_FLIP_AXIS_Y, EINA_TRUE);
+
+ if (effect != NULL) {
+ tet_infoline("elm_fx_flip_add() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_fx_image_animation_add_func_01(void);
+static void utc_UIFW_elm_fx_image_animation_add_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_fx_image_animation_add_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_fx_image_animation_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_fx_image_animation_add()
+ */
+static void utc_UIFW_elm_fx_image_animation_add_func_01(void)
+{
+ Evas_Object *icon = elm_icon_add(main_win);
+ const char* icon_path[] = {"/usr/share/beat_winset_test/icon/sky_01.jpg", "/usr/share/beat-winset-test/icon/sky_02.jpg"};
+ Elm_Effect *effect = elm_fx_image_animation_add(icon, icon_path, 2);
+
+ if (effect == NULL) {
+ tet_infoline("elm_fx_image_animation_add() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_fx_image_animation_add()
+ */
+static void utc_UIFW_elm_fx_image_animation_add_func_02(void)
+{
+ const char* icon_path[] = {"/usr/share/beat_winset_test/icon/sky_01.jpg", "/usr/share/beat-winset-test/icon/sky_02.jpg"};
+ Elm_Effect *effect = elm_fx_image_animation_add(NULL, icon_path, 2);
+
+ if (effect != NULL) {
+ tet_infoline("elm_fx_image_animation_add() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_fx_resizable_flip_add_func_01(void);
+static void utc_UIFW_elm_fx_resizable_flip_add_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_fx_resizable_flip_add_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_fx_resizable_flip_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_fx_resizable_flip_add()
+ */
+static void utc_UIFW_elm_fx_resizable_flip_add_func_01(void)
+{
+ Elm_Effect *effect = elm_fx_resizable_flip_add(main_win, main_win, ELM_FX_FLIP_AXIS_Y, EINA_TRUE);
+
+ if (effect == NULL) {
+ tet_infoline("elm_fx_resizable_flip_add() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_fx_resizable_flip_add()
+ */
+static void utc_UIFW_elm_fx_resizable_flip_add_func_02(void)
+{
+ Elm_Effect *effect = elm_fx_resizable_flip_add(NULL, main_win, ELM_FX_FLIP_AXIS_Y, EINA_TRUE);
+
+ if (effect != NULL) {
+ tet_infoline("elm_fx_resizable_flip_add() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_fx_resizing_add_func_01(void);
+static void utc_UIFW_elm_fx_resizing_add_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_fx_resizing_add_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_fx_resizing_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_fx_resizing_add()
+ */
+static void utc_UIFW_elm_fx_resizing_add_func_01(void)
+{
+ Elm_Effect *effect = elm_fx_resizing_add(main_win, 480, 800, 240, 400);
+
+ if (effect == NULL) {
+ tet_infoline("elm_fx_resizing_add() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_fx_resizing_add()
+ */
+static void utc_UIFW_elm_fx_resizing_add_func_02(void)
+{
+ Elm_Effect *effect = elm_fx_resizing_add(NULL, 480, 800, 240, 400);
+
+ if (effect != NULL) {
+ tet_infoline("elm_fx_resizing_add() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_fx_rotation3d_add_func_01(void);
+static void utc_UIFW_elm_fx_rotation3d_add_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_fx_rotation3d_add_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_fx_rotation3d_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_fx_rotation3d_add()
+ */
+static void utc_UIFW_elm_fx_rotation3d_add_func_01(void)
+{
+ float axis_dir[3] = {1.0, 1.0, 1.0};
+ float axis_pos[3] = {0.0, 0.0, 0.0};
+
+ Elm_Effect *effect = elm_fx_rotation3d_add(main_win, 0, 360, axis_dir, axis_pos);
+
+ if (effect = NULL) {
+ tet_infoline("elm_fx_rotation3d_add() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_fx_rotation3d_add()
+ */
+static void utc_UIFW_elm_fx_rotation3d_add_func_02(void)
+{
+ float axis_dir[3] = {1.0, 1.0, 1.0};
+ float axis_pos[3] = {0.0, 0.0, 0.0};
+
+ Elm_Effect *effect = elm_fx_rotation3d_add(NULL, 0, 360, axis_dir, axis_pos);
+
+ if (effect != NULL) {
+ tet_infoline("elm_fx_rotation3d_add() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_fx_rotation_add_func_01(void);
+static void utc_UIFW_elm_fx_rotation_add_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_fx_rotation_add_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_fx_rotation_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_fx_rotation_add()
+ */
+static void utc_UIFW_elm_fx_rotation_add_func_01(void)
+{
+ Elm_Effect *effect = elm_fx_rotation_add(main_win, 0, 360, EINA_TRUE);
+
+ if (effect == NULL) {
+ tet_infoline("elm_fx_rotation_add() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_fx_rotation_add()
+ */
+static void utc_UIFW_elm_fx_rotation_add_func_02(void)
+{
+ Elm_Effect *effect = elm_fx_rotation_add(NULL, 0, 360, EINA_TRUE);
+
+ if (effect != NULL) {
+ tet_infoline("elm_fx_rotation_add() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_fx_translation_add_func_01(void);
+static void utc_UIFW_elm_fx_translation_add_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_fx_translation_add_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_fx_translation_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_fx_translation_add()
+ */
+static void utc_UIFW_elm_fx_translation_add_func_01(void)
+{
+ Elm_Effect *effect = elm_fx_translation_add(main_win, 0, 0, -480, 0);
+
+ if (effect == NULL) {
+ tet_infoline("elm_fx_translation_add() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_fx_translation_add()
+ */
+static void utc_UIFW_elm_fx_translation_add_func_02(void)
+{
+ Elm_Effect *effect = elm_fx_translation_add(NULL, 0, 0, -480, 0);
+
+ if (effect != NULL) {
+ tet_infoline("elm_fx_translation_add() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_fx_wipe_add_func_01(void);
+static void utc_UIFW_elm_fx_wipe_add_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_fx_wipe_add_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_fx_wipe_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_fx_wipe_add()
+ */
+static void utc_UIFW_elm_fx_wipe_add_func_01(void)
+{
+ Elm_Effect *effect = elm_fx_wipe_add(main_win, ELM_FX_WIPE_TYPE_SHOW, ELM_FX_WIPE_DIR_RIGHT);
+
+ if (effect == NULL) {
+ tet_infoline("elm_fx_wipe_add() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_fx_wipe_add()
+ */
+static void utc_UIFW_elm_fx_wipe_add_func_02(void)
+{
+ Elm_Effect *effect = elm_fx_wipe_add(NULL, ELM_FX_WIPE_TYPE_SHOW, ELM_FX_WIPE_DIR_RIGHT);
+
+ if (effect != NULL) {
+ tet_infoline("elm_fx_wipe_add() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_fx_zoom_add_func_01(void);
+static void utc_UIFW_elm_fx_zoom_add_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_fx_zoom_add_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_fx_zoom_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_fx_zoom_add()
+ */
+static void utc_UIFW_elm_fx_zoom_add_func_01(void)
+{
+ Elm_Effect *effect = elm_fx_zoom_add(main_win, 0.6, 1.0);
+
+ if (effect == NULL) {
+ tet_infoline("elm_fx_zoom_add() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_fx_zoom_add()
+ */
+static void utc_UIFW_elm_fx_zoom_add_func_02(void)
+{
+ Elm_Effect *effect = elm_fx_zoom_add(NULL, 0.6, 1.0);
+
+ if (effect != NULL) {
+ tet_infoline("elm_fx_zoom_add() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+Elm_Transit *transit;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_transit_add_func_01(void);
+static void utc_UIFW_elm_transit_add_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_transit_add_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_transit_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ if ( NULL != transit ) {
+ elm_transit_del(transit);
+ transit = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_transit_add()
+ */
+static void utc_UIFW_elm_transit_add_func_01(void)
+{
+ transit = elm_transit_add(main_win);
+
+ if (!transit) {
+ tet_infoline("elm_transit_add() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_transit_add()
+ */
+static void utc_UIFW_elm_transit_add_func_02(void)
+{
+ transit = elm_transit_add(NULL);
+
+ if (transit) {
+ tet_infoline("elm_transit_add() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+Elm_Transit *transit;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_transit_auto_reverse_set_func_01(void);
+static void utc_UIFW_elm_transit_auto_reverse_set_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_transit_auto_reverse_set_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_transit_auto_reverse_set_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ if ( NULL != transit ) {
+ elm_transit_del(transit);
+ transit = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_transit_auto_reverse_set()
+ */
+static void utc_UIFW_elm_transit_auto_reverse_set_func_01(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_auto_reverse_set(transit, EINA_TRUE);
+ elm_transit_run(transit, 1.0);
+
+ /*if (!r) {
+ tet_infoline("elm_transit_auto_reverse_set() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_transit_auto_reverse_set()
+ */
+static void utc_UIFW_elm_transit_auto_reverse_set_func_02(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_auto_reverse_set(NULL, EINA_TRUE);
+ elm_transit_run(transit, 1.0);
+
+ /*if (r) {
+ tet_infoline("elm_transit_auto_reverse_set() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+Elm_Transit *transit;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_transit_completion_callback_set_func_01(void);
+static void utc_UIFW_elm_transit_completion_callback_set_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_transit_completion_callback_set_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_transit_completion_callback_set_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ if ( NULL != transit) {
+ elm_transit_del(transit);
+ transit = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+void _transition_comp(void *data, Elm_Transit* transit)
+{
+ elm_transit_del(transit);
+ transit = NULL;
+}
+/**
+ * @brief Positive test case of elm_transit_completion_callback_set()
+ */
+static void utc_UIFW_elm_transit_completion_callback_set_func_01(void)
+{
+ elm_transit_add(main_win);
+ elm_transit_completion_callback_set(transit, _transition_comp, NULL);
+ elm_transit_run(transit, 1.0);
+
+ /*if (!r) {
+ tet_infoline("elm_transit_completion_callback_set() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_transit_completion_callback_set()
+ */
+static void utc_UIFW_elm_transit_completion_callback_set_func_02(void)
+{
+ elm_transit_add(main_win);
+ elm_transit_completion_callback_set(NULL, _transition_comp, NULL);
+ elm_transit_run(transit, 1.0);
+
+ /*if (r) {
+ tet_infoline("elm_transit_completion_callback_set() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+Elm_Transit *transit;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_transit_curve_style_set_func_01(void);
+static void utc_UIFW_elm_transit_curve_style_set_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_transit_curve_style_set_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_transit_curve_style_set_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ if ( NULL != transit ) {
+ elm_transit_del(transit);
+ transit = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_transit_curve_style_set()
+ */
+static void utc_UIFW_elm_transit_curve_style_set_func_01(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_curve_style_set(transit, ELM_ANIMATOR_CURVE_OUT);
+ elm_transit_run(transit, 1.0);
+
+ /*if (!r) {
+ tet_infoline("elm_transit_curve_style_set() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_transit_curve_style_set()
+ */
+static void utc_UIFW_elm_transit_curve_style_set_func_02(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_curve_style_set(NULL, ELM_ANIMATOR_CURVE_OUT);
+ elm_transit_curve_style_set(transit, ELM_ANIMATOR_CURVE_OUT+1);
+ elm_transit_run(transit, 1.0);
+
+ /*if (r) {
+ tet_infoline("elm_transit_curve_style_set() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+Elm_Transit *transit;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_transit_del_func_01(void);
+static void utc_UIFW_elm_transit_del_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_transit_del_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_transit_del_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ if ( NULL != transit ) {
+ elm_transit_del(transit);
+ transit = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_transit_del()
+ */
+static void utc_UIFW_elm_transit_del_func_01(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_del(transit);
+ transit = NULL;
+
+ /*if (!r) {
+ tet_infoline("elm_transit_del() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_transit_del()
+ */
+static void utc_UIFW_elm_transit_del_func_02(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_del(NULL);
+
+ /*if (r) {
+ tet_infoline("elm_transit_del() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+Elm_Transit *transit;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_transit_event_block_disabled_get_func_01(void);
+static void utc_UIFW_elm_transit_event_block_disabled_get_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_transit_event_block_disabled_get_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_transit_event_block_disabled_get_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ if ( NULL != transit ) {
+ elm_transit_del(transit);
+ transit = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_transit_event_block_disabled_get()
+ */
+static void utc_UIFW_elm_transit_event_block_disabled_get_func_01(void)
+{
+ Eina_Bool r = EINA_FALSE;
+
+ transit = elm_transit_add(main_win);
+ elm_transit_event_block_disabled_set(transit, EINA_TRUE);
+ r = elm_transit_event_block_disabled_get(transit);
+
+ if (r == EINA_FALSE) {
+ tet_infoline("elm_transit_event_block_disabled_get() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_transit_event_block_disabled_get()
+ */
+static void utc_UIFW_elm_transit_event_block_disabled_get_func_02(void)
+{
+ Eina_Bool r = EINA_FALSE;
+
+ transit = elm_transit_add(main_win);
+ elm_transit_event_block_disabled_set(transit, EINA_TRUE);
+ r = elm_transit_event_block_disabled_get(NULL);
+
+ if (r == EINA_TRUE) {
+ tet_infoline("elm_transit_event_block_disabled_get() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+Elm_Transit *transit;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_transit_event_block_disbled_set_func_01(void);
+static void utc_UIFW_elm_transit_event_block_disbled_set_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_transit_event_block_disbled_set_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_transit_event_block_disbled_set_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ if ( NULL != transit ) {
+ elm_transit_del(transit);
+ transit = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_transit_event_block_disbled_set()
+ */
+static void utc_UIFW_elm_transit_event_block_disbled_set_func_01(void)
+{
+ Eina_Bool r = EINA_FALSE;
+
+ elm_transit_add(transit);
+ elm_transit_event_block_disabled_set(transit, EINA_TRUE);
+ r = elm_transit_event_block_disabled_get(transit);
+ elm_transit_run(transit, 1.0);
+
+ if (r == EINA_FALSE) {
+ tet_infoline("elm_transit_event_block_disbled_set() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_transit_event_block_disbled_set()
+ */
+static void utc_UIFW_elm_transit_event_block_disbled_set_func_02(void)
+{
+ Eina_Bool r = EINA_FALSE;
+
+ elm_transit_add(transit);
+ elm_transit_event_block_disabled_set(NULL, EINA_TRUE);
+ r = elm_transit_event_block_disabled_get(transit);
+ elm_transit_run(transit, 1.0);
+
+ if (r = EINA_TRUE) {
+ tet_infoline("elm_transit_event_block_disbled_set() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+Elm_Transit *transit;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_transit_fx_clear_func_01(void);
+static void utc_UIFW_elm_transit_fx_clear_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_transit_fx_clear_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_transit_fx_clear_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ if ( NULL != transit ) {
+ elm_transit_del(transit);
+ transit = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_transit_fx_clear()
+ */
+static void utc_UIFW_elm_transit_fx_clear_func_01(void)
+{
+ transit = elm_transit_add(main_win);
+ Elm_Effect *effect = elm_fx_fade_add(main_win, main_win);
+ elm_transit_fx_insert(transit, effect);
+ elm_transit_fx_clear(transit);
+ elm_transit_run(transit, 1.0);
+
+ /*if (!r) {
+ tet_infoline("elm_transit_fx_clear() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_transit_fx_clear()
+ */
+static void utc_UIFW_elm_transit_fx_clear_func_02(void)
+{
+ transit = elm_transit_add(main_win);
+ Elm_Effect *effect = elm_fx_fade_add(main_win, main_win);
+ elm_transit_fx_insert(transit, effect);
+ elm_transit_fx_clear(NULL);
+ elm_transit_run(transit, 1.0);
+
+ /*if (r) {
+ tet_infoline("elm_transit_fx_clear() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+Elm_Transit *transit;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_transit_fx_insert_func_01(void);
+static void utc_UIFW_elm_transit_fx_insert_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_transit_fx_insert_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_transit_fx_insert_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ if ( NULL != transit ) {
+ elm_transit_del(transit);
+ transit = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_transit_fx_insert()
+ */
+static void utc_UIFW_elm_transit_fx_insert_func_01(void)
+{
+ Eina_Bool r = EINA_FALSE;
+
+ transit = elm_transit_add(main_win);
+ Elm_Effect *effect = elm_fx_fade_add(main_win, main_win);
+ r = elm_transit_fx_insert(transit, effect);
+
+ if (r == EINA_FALSE) {
+ tet_infoline("elm_transit_fx_insert() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_transit_fx_insert()
+ */
+static void utc_UIFW_elm_transit_fx_insert_func_02(void)
+{
+ Eina_Bool r = EINA_FALSE;
+
+ transit = elm_transit_add(main_win);
+ Elm_Effect *effect = elm_fx_fade_add(main_win, main_win);
+ r = elm_transit_fx_insert(transit, NULL);
+
+ if (r = EINA_TRUE) {
+ tet_infoline("elm_transit_fx_insert() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+Elm_Transit *transit;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_transit_pause_func_01(void);
+static void utc_UIFW_elm_transit_pause_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_transit_pause_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_transit_pause_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ if ( NULL != transit ) {
+ elm_transit_del(transit);
+ transit = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_transit_pause()
+ */
+static void utc_UIFW_elm_transit_pause_func_01(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_run(transit, 1.0);
+ elm_transit_pause(transit);
+
+ /*if (!r) {
+ tet_infoline("elm_transit_pause() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_transit_pause()
+ */
+static void utc_UIFW_elm_transit_pause_func_02(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_run(transit, 1.0);
+ elm_transit_pause(NULL);
+
+ /*if (r) {
+ tet_infoline("elm_transit_pause() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+Elm_Transit *transit;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_transit_repeat_set_func_01(void);
+static void utc_UIFW_elm_transit_repeat_set_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_transit_repeat_set_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_transit_repeat_set_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ if ( NULL != transit ) {
+ elm_transit_del(transit);
+ transit = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_transit_repeat_set()
+ */
+static void utc_UIFW_elm_transit_repeat_set_func_01(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_repeat_set(transit, 3);
+ elm_transit_run(transit, 1.0);
+
+ /*if (!r) {
+ tet_infoline("elm_transit_repeat_set() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_transit_repeat_set()
+ */
+static void utc_UIFW_elm_transit_repeat_set_func_02(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_repeat_set(NULL, 3);
+ elm_transit_run(transit, 1.0);
+
+ /*if (r) {
+ tet_infoline("elm_transit_repeat_set() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+Elm_Transit *transit;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_transit_resume_func_01(void);
+static void utc_UIFW_elm_transit_resume_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_transit_resume_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_transit_resume_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ if ( NULL != transit) {
+ elm_transit_del(transit);
+ transit = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_transit_resume()
+ */
+static void utc_UIFW_elm_transit_resume_func_01(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_run(transit, 1.0);
+ elm_transit_pause(transit);
+ elm_transit_resume(transit);
+
+ /*if (!r) {
+ tet_infoline("elm_transit_resume() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_transit_resume()
+ */
+static void utc_UIFW_elm_transit_resume_func_02(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_run(transit, 1.0);
+ elm_transit_pause(transit);
+ elm_transit_resume(NULL);
+
+ /*if (r) {
+ tet_infoline("elm_transit_resume() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+Elm_Transit *transit;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_transit_run_func_01(void);
+static void utc_UIFW_elm_transit_run_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_transit_run_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_transit_run_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ if ( NULL != transit ) {
+ elm_transit_del(transit);
+ transit = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_transit_run()
+ */
+static void utc_UIFW_elm_transit_run_func_01(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_run(transit, 1.0);
+
+ /*if (!r) {
+ tet_infoline("elm_transit_run() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_transit_run()
+ */
+static void utc_UIFW_elm_transit_run_func_02(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_run(NULL, 1.0);
+
+ /*if (r) {
+ tet_infoline("elm_transit_run() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+Elm_Transit *transit;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_transit_stop_func_01(void);
+static void utc_UIFW_elm_transit_stop_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_transit_stop_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_transit_stop_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ if ( NULL != transit ) {
+ elm_transit_del(transit);
+ transit = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_transit_stop()
+ */
+static void utc_UIFW_elm_transit_stop_func_01(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_run(transit, 1.0);
+ elm_transit_stop(transit);
+
+ /*if (!r) {
+ tet_infoline("elm_transit_stop() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_transit_stop()
+ */
+static void utc_UIFW_elm_transit_stop_func_02(void)
+{
+ transit = elm_transit_add(main_win);
+ elm_transit_run(transit, 1.0);
+ elm_transit_stop(NULL);
+
+ /*if (r) {
+ tet_infoline("elm_transit_stop() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }*/
+ tet_result(TET_PASS);
+}
:include:/elm_ts/scrolled_entry/tslist
:include:/elm_ts/entry/tslist
:include:/elm_ts/dayselector/tslist
-
+ :include:/elm_ts/transit/tslist
#yhkim
ch
/telephony-framework/sim/unit/uts_tapi_verify_chv