-make: `utc_UIFW_elm_animator_add_func' is up to date.
+make: `utc_UIFW_elm_animator_repeat_get_func' is up to date.
/elm_ts/animator/utc_UIFW_elm_animator_add_func
+/elm_ts/animator/utc_UIFW_elm_animator_del_func
+/elm_ts/animator/utc_UIFW_elm_animator_duration_set_func
+/elm_ts/animator/utc_UIFW_elm_animator_operation_callback_set_func
+/elm_ts/animator/utc_UIFW_elm_animator_completion_callback_set_func
+/elm_ts/animator/utc_UIFW_elm_animator_stop_func
+/elm_ts/animator/utc_UIFW_elm_animator_repeat_set_func
+/elm_ts/animator/utc_UIFW_elm_animator_animate_func
+/elm_ts/animator/utc_UIFW_elm_animator_curve_style_set_func
+/elm_ts/animator/utc_UIFW_elm_animator_pause_func
+/elm_ts/animator/utc_UIFW_elm_animator_resume_func
+/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_set_func
+/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_get_func
+/elm_ts/animator/utc_UIFW_elm_animator_operating_get_func
+/elm_ts/animator/utc_UIFW_elm_animator_repeat_get_func
*/
static void utc_UIFW_elm_animator_add_func_01(void)
{
- Evas_Object *obj = NULL;
+ Elm_Animator *obj = NULL;
obj = elm_animator_add(main_win);
*/
static void utc_UIFW_elm_animator_add_func_02(void)
{
- Evas_Object *obj = NULL;
+ Elm_Animator *obj = NULL;
obj = elm_animator_add(NULL);
--- /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_Animator *animator;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_animator_animate_func_01(void);
+static void utc_UIFW_elm_animator_animate_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_animator_animate_func_01, POSITIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void _animator_op(void *data, Elm_Animator *animator, double frame)
+{
+
+}
+
+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);
+ animator = elm_animator_add(main_win);
+ elm_animator_duration_set(animator, 3);
+ elm_animator_operation_callback_set(animator, _animator_op, NULL);
+}
+
+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_animator_animate()
+ */
+static void utc_UIFW_elm_animator_animate_func_01(void)
+{
+ elm_animator_animate(animator);
+ 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_Animator *animator;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_animator_auto_reverse_get_func_01(void);
+static void utc_UIFW_elm_animator_auto_reverse_get_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_animator_auto_reverse_get_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_animator_auto_reverse_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);
+ animator = elm_animator_add(main_win);
+ elm_animator_auto_reverse_set(animator, EINA_TRUE);
+}
+
+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_animator_auto_reverse_get()
+ */
+static void utc_UIFW_elm_animator_auto_reverse_get_func_01(void)
+{
+ Eina_Bool r = 0;
+
+ r = elm_animator_auto_reverse_get(animator);
+
+ if (r == EINA_FALSE) {
+ tet_infoline("elm_animator_auto_reverse_get() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_animator_auto_reverse_get()
+ */
+static void utc_UIFW_elm_animator_auto_reverse_get_func_02(void)
+{
+ Eina_Bool r = 0;
+
+ r = elm_animator_auto_reverse_get(NULL);
+
+ if (r == EINA_TRUE ) {
+ tet_infoline("elm_animator_auto_reverse_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_Animator *animator;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_animator_auto_reverse_set_func_01(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_animator_auto_reverse_set_func_01, POSITIVE_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);
+ animator = elm_animator_add(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_animator_auto_reverse_set()
+ */
+static void utc_UIFW_elm_animator_auto_reverse_set_func_01(void)
+{
+ elm_animator_auto_reverse_set(animator, EINA_TRUE);
+ 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_Animator *animator;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_animator_completion_callback_set_func_01(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_animator_completion_callback_set_func_01, POSITIVE_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);
+ animator = elm_animator_add(NULL);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+static void _animator_cp(void *data, Elm_Animator *animator, double frame)
+{
+}
+
+/**
+ * @brief Positive test case of elm_animator_completion_callback_set()
+ */
+static void utc_UIFW_elm_animator_completion_callback_set_func_01(void)
+{
+
+ elm_animator_completion_callback_set(animator, _animator_cp, NULL);
+
+ 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_Animator *animator;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_animator_curve_style_set_func_01(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_animator_curve_style_set_func_01, POSITIVE_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);
+ animator = elm_animator_add(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_animator_curve_style_set()
+ */
+static void utc_UIFW_elm_animator_curve_style_set_func_01(void)
+{
+ elm_animator_curve_style_set(animator, ELM_ANIMATOR_CURVE_LINEAR);
+ tet_result(TET_PASS);
+}
+
+
Evas_Object *main_win;
+Elm_Animator *obj;
static void startup(void);
static void cleanup(void);
void (*tet_startup)(void) = startup;
void (*tet_cleanup)(void) = cleanup;
-static void utc_UIFW_elm_animator_add_func_01(void);
-static void utc_UIFW_elm_animator_add_func_02(void);
+static void utc_UIFW_elm_animator_del_func_01(void);
enum {
POSITIVE_TC_IDX = 0x01,
};
struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_animator_add_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_animator_add_func_02, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_animator_del_func_01, POSITIVE_TC_IDX },
{ NULL, 0 }
};
elm_init(0, NULL);
main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
evas_object_show(main_win);
+
+ obj = elm_animator_add(NULL);
}
static void cleanup(void)
}
/**
- * @brief Positive test case of elm_animator_add()
+ * @brief Positive test case of elm_animator_del()
*/
-static void utc_UIFW_elm_animator_add_func_01(void)
+static void utc_UIFW_elm_animator_del_func_01(void)
{
- Evas_Object *obj = NULL;
-
- obj = elm_animator_add(main_win);
+ elm_animator_del(obj);
- if (!obj) {
- tet_infoline("elm_animator_add() failed in positive test case");
- tet_result(TET_FAIL);
- return;
- }
tet_result(TET_PASS);
}
-/**
- * @brief Positive test case of ug_init elm_animator_add()
- */
-static void utc_UIFW_elm_animator_add_func_02(void)
-{
- Evas_Object *obj = NULL;
-
- obj = elm_animator_add(NULL);
-
- if (!obj) {
- tet_infoline("elm_animator_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_Animator *animator;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_animator_duration_set_func_01(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_animator_duration_set_func_01, POSITIVE_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);
+
+ animator = elm_animator_add(NULL);
+
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_animator_del(animator);
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_animator_duration_set()
+ */
+static void utc_UIFW_elm_animator_duration_set_func_01(void)
+{
+ elm_animator_duration_set(animator, 0);
+
+ 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_Animator *animator;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_animator_operating_get_func_01(void);
+static void utc_UIFW_elm_animator_operating_get_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_animator_operating_get_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_animator_operating_get_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void _op(void *data, Elm_Animator *animator, double frame)
+{
+}
+
+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);
+ animator = elm_animator_add(main_win);
+ elm_animator_duration_set(animator, 3);
+ elm_animator_operation_callback_set(animator, _op, NULL);
+ elm_animator_animate(animator);
+}
+
+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_animator_operating_get()
+ */
+static void utc_UIFW_elm_animator_operating_get_func_01(void)
+{
+ Eina_Bool r = 0;
+
+ r = elm_animator_operating_get(animator);
+
+ if (r == EINA_FALSE) {
+ tet_infoline("elm_animator_operating_get() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_animator_operating_get()
+ */
+static void utc_UIFW_elm_animator_operating_get_func_02(void)
+{
+ Eina_Bool r = 0;
+
+ r = elm_animator_operating_get(NULL);
+
+ if (r == EINA_TRUE) {
+ tet_infoline("elm_animator_operating_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_Animator *animator;
+
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_animator_operation_callback_set_func_01(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_animator_operation_callback_set_func_01, POSITIVE_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);
+ animator = elm_animator_add(NULL);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_animator_del(animator);
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+static void _animator_op(void *data , Elm_Animator *animator, double frame)
+{
+
+}
+
+/**
+ * @brief Positive test case of elm_animator_operation_callback_set()
+ */
+static void utc_UIFW_elm_animator_operation_callback_set_func_01(void)
+{
+ elm_animator_operation_callback_set(animator, _animator_op, NULL);
+ 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_Animator *animator;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_animator_pause_func_01(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_animator_pause_func_01, POSITIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void _animator_op(void *data, Elm_Animator *animator, double frame)
+{
+
+}
+
+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);
+ animator = elm_animator_add(main_win);
+ elm_animator_operation_callback_set(animator, _animator_op, NULL);
+ elm_animator_duration_set(animator, 5);
+ elm_animator_animate(animator);
+}
+
+
+
+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_animator_pause()
+ */
+static void utc_UIFW_elm_animator_pause_func_01(void)
+{
+ elm_animator_pause(animator);
+ 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_Animator *animator;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_animator_repeat_get_func_01(void);
+static void utc_UIFW_elm_animator_repeat_get_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_animator_repeat_get_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_animator_repeat_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);
+ animator = elm_animator_add(main_win);
+ elm_animator_repeat_set(animator, 5);
+}
+
+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_animator_repeat_get()
+ */
+static void utc_UIFW_elm_animator_repeat_get_func_01(void)
+{
+ int r = 0;
+
+ r = elm_animator_repeat_get(animator);
+
+ if (r != 3) {
+ tet_infoline("elm_animator_repeat_get() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_animator_repeat_get()
+ */
+static void utc_UIFW_elm_animator_repeat_get_func_02(void)
+{
+ int r = 0;
+
+ r = elm_animator_repeat_get(NULL);
+
+ if (r != 0) {
+ tet_infoline("elm_animator_repeat_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_Animator *animator;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_animator_repeat_set_func_01(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_animator_repeat_set_func_01, POSITIVE_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);
+ animator = elm_animator_add(NULL);
+
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_animator_del(animator);
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_animator_repeat_set()
+ */
+static void utc_UIFW_elm_animator_repeat_set_func_01(void)
+{
+ elm_animator_repeat_set(animator, 3);
+ 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_Animator *animator;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_animator_resume_func_01(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_animator_resume_func_01, POSITIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void _op(void *data, Elm_Animator *animator, double frame)
+{
+ elm_animator_pause(animator);
+}
+
+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);
+ animator = elm_animator_add(main_win);
+ elm_animator_operation_callback_set(animator, _op, NULL);
+ elm_animator_duration_set(animator, 3);
+ elm_animator_animate(animator);
+}
+
+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_animator_resume()
+ */
+static void utc_UIFW_elm_animator_resume_func_01(void)
+{
+ elm_animator_resume(animator);
+ 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_Animator *animator;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_animator_stop_func_01(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_animator_stop_func_01, POSITIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void _animator_op(void *data, Elm_Animator *animator, double frame)
+{
+}
+
+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);
+ animator = elm_animator_add(NULL);
+ elm_animator_duration_set(animator, 3);
+ elm_animator_operation_callback_set(animator, _animator_op, NULL);
+ elm_animator_animate(animator);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_animator_del(animator);
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_animator_stop()
+ */
+static void utc_UIFW_elm_animator_stop_func_01(void)
+{
+ elm_animator_stop(animator);
+
+ tet_result(TET_PASS);
+}
+
+
-make: `utc_UIFW_elm_calendar_marks_get_func' is up to date.
+cc -I. `pkg-config --cflags elementary` -I/scratchbox/TETware/tetware-target/inc/tet3 -Wall `pkg-config --libs elementary` /scratchbox/TETware/tetware-target/lib/tet3/tcm_s.o -L/scratchbox/TETware/tetware-target/lib/tet3 -ltcm_s -L/scratchbox/TETware/tetware-target/lib/tet3 -lapi_s utc_UIFW_elm_calendar_day_selection_enabled_get_func.c -o utc_UIFW_elm_calendar_day_selection_enabled_get_func