[animator] completed animator test case
authorChunEon Park <chuneon.park@samsung.com>
Thu, 7 Oct 2010 10:10:00 +0000 (19:10 +0900)
committerChunEon Park <chuneon.park@samsung.com>
Thu, 7 Oct 2010 10:10:00 +0000 (19:10 +0900)
37 files changed:
TC/elm_ts/animator/tet_captured
TC/elm_ts/animator/tslist
TC/elm_ts/animator/utc_UIFW_elm_animator_add_func.c
TC/elm_ts/animator/utc_UIFW_elm_animator_animate_func [new file with mode: 0755]
TC/elm_ts/animator/utc_UIFW_elm_animator_animate_func.c [new file with mode: 0644]
TC/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_get_func [new file with mode: 0755]
TC/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_get_func.c [new file with mode: 0644]
TC/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_set_func [new file with mode: 0755]
TC/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_set_func.c [new file with mode: 0644]
TC/elm_ts/animator/utc_UIFW_elm_animator_completion_callback_set_func [new file with mode: 0755]
TC/elm_ts/animator/utc_UIFW_elm_animator_completion_callback_set_func.c [new file with mode: 0644]
TC/elm_ts/animator/utc_UIFW_elm_animator_curve_style_set_func [new file with mode: 0755]
TC/elm_ts/animator/utc_UIFW_elm_animator_curve_style_set_func.c [new file with mode: 0644]
TC/elm_ts/animator/utc_UIFW_elm_animator_del_func [new file with mode: 0755]
TC/elm_ts/animator/utc_UIFW_elm_animator_del_func.c
TC/elm_ts/animator/utc_UIFW_elm_animator_duration_set_func [new file with mode: 0755]
TC/elm_ts/animator/utc_UIFW_elm_animator_duration_set_func.c [new file with mode: 0644]
TC/elm_ts/animator/utc_UIFW_elm_animator_operating_get_func [new file with mode: 0755]
TC/elm_ts/animator/utc_UIFW_elm_animator_operating_get_func.c [new file with mode: 0644]
TC/elm_ts/animator/utc_UIFW_elm_animator_operation_callback_set_func [new file with mode: 0755]
TC/elm_ts/animator/utc_UIFW_elm_animator_operation_callback_set_func.c [new file with mode: 0644]
TC/elm_ts/animator/utc_UIFW_elm_animator_pause_func [new file with mode: 0755]
TC/elm_ts/animator/utc_UIFW_elm_animator_pause_func.c [new file with mode: 0644]
TC/elm_ts/animator/utc_UIFW_elm_animator_repeat_get_func [new file with mode: 0755]
TC/elm_ts/animator/utc_UIFW_elm_animator_repeat_get_func.c [new file with mode: 0644]
TC/elm_ts/animator/utc_UIFW_elm_animator_repeat_set_func [new file with mode: 0755]
TC/elm_ts/animator/utc_UIFW_elm_animator_repeat_set_func.c [new file with mode: 0644]
TC/elm_ts/animator/utc_UIFW_elm_animator_resume_func [new file with mode: 0755]
TC/elm_ts/animator/utc_UIFW_elm_animator_resume_func.c [new file with mode: 0644]
TC/elm_ts/animator/utc_UIFW_elm_animator_stop_func [new file with mode: 0755]
TC/elm_ts/animator/utc_UIFW_elm_animator_stop_func.c [new file with mode: 0644]
TC/elm_ts/calendar/tet_captured
TC/elm_ts/calendar/utc_UIFW_elm_calendar_add_func [deleted file]
TC/elm_ts/calendar/utc_UIFW_elm_calendar_interval_get_func [deleted file]
TC/elm_ts/calendar/utc_UIFW_elm_calendar_mark_add_func [deleted file]
TC/elm_ts/calendar/utc_UIFW_elm_calendar_selected_time_get_func [deleted file]
TC/elm_ts/calendar/utc_UIFW_elm_calendar_weekdays_names_get_func

index 9186e5a..755f831 100644 (file)
@@ -1 +1 @@
-make: `utc_UIFW_elm_animator_add_func' is up to date.
+make: `utc_UIFW_elm_animator_repeat_get_func' is up to date.
index 0600b95..45c8ef3 100644 (file)
@@ -1 +1,15 @@
 /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
index 604e4ac..367a439 100644 (file)
@@ -72,7 +72,7 @@ static void cleanup(void)
  */
 static void utc_UIFW_elm_animator_add_func_01(void)
 {
-       Evas_Object *obj = NULL;
+       Elm_Animator *obj = NULL;
 
        obj = elm_animator_add(main_win);
 
@@ -89,7 +89,7 @@ static void utc_UIFW_elm_animator_add_func_01(void)
  */
 static void utc_UIFW_elm_animator_add_func_02(void)
 {
-       Evas_Object *obj = NULL;
+       Elm_Animator *obj = NULL;
 
        obj = elm_animator_add(NULL);
        
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_animate_func b/TC/elm_ts/animator/utc_UIFW_elm_animator_animate_func
new file mode 100755 (executable)
index 0000000..f418bbd
Binary files /dev/null and b/TC/elm_ts/animator/utc_UIFW_elm_animator_animate_func differ
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_animate_func.c b/TC/elm_ts/animator/utc_UIFW_elm_animator_animate_func.c
new file mode 100644 (file)
index 0000000..2f6bf2d
--- /dev/null
@@ -0,0 +1,86 @@
+#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);
+}
+
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_get_func b/TC/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_get_func
new file mode 100755 (executable)
index 0000000..a6a5968
Binary files /dev/null and b/TC/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_get_func differ
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_get_func.c b/TC/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_get_func.c
new file mode 100644 (file)
index 0000000..bf6490b
--- /dev/null
@@ -0,0 +1,105 @@
+#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);
+}
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_set_func b/TC/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_set_func
new file mode 100755 (executable)
index 0000000..0ba1bf0
Binary files /dev/null and b/TC/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_set_func differ
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_set_func.c b/TC/elm_ts/animator/utc_UIFW_elm_animator_auto_reverse_set_func.c
new file mode 100644 (file)
index 0000000..357bf9e
--- /dev/null
@@ -0,0 +1,79 @@
+#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);
+}
+
+
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_completion_callback_set_func b/TC/elm_ts/animator/utc_UIFW_elm_animator_completion_callback_set_func
new file mode 100755 (executable)
index 0000000..af082ba
Binary files /dev/null and b/TC/elm_ts/animator/utc_UIFW_elm_animator_completion_callback_set_func differ
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_completion_callback_set_func.c b/TC/elm_ts/animator/utc_UIFW_elm_animator_completion_callback_set_func.c
new file mode 100644 (file)
index 0000000..2be0802
--- /dev/null
@@ -0,0 +1,85 @@
+#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);
+}
+
+
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_curve_style_set_func b/TC/elm_ts/animator/utc_UIFW_elm_animator_curve_style_set_func
new file mode 100755 (executable)
index 0000000..3447e2f
Binary files /dev/null and b/TC/elm_ts/animator/utc_UIFW_elm_animator_curve_style_set_func differ
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_curve_style_set_func.c b/TC/elm_ts/animator/utc_UIFW_elm_animator_curve_style_set_func.c
new file mode 100644 (file)
index 0000000..9366910
--- /dev/null
@@ -0,0 +1,79 @@
+#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);
+}
+
+
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_del_func b/TC/elm_ts/animator/utc_UIFW_elm_animator_del_func
new file mode 100755 (executable)
index 0000000..bac2fd7
Binary files /dev/null and b/TC/elm_ts/animator/utc_UIFW_elm_animator_del_func differ
index 604e4ac..3606eee 100644 (file)
@@ -28,6 +28,7 @@
 
 
 Evas_Object *main_win;
+Elm_Animator *obj;
 
 static void startup(void);
 static void cleanup(void);
@@ -35,8 +36,7 @@ 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,
@@ -44,8 +44,7 @@ enum {
 };
 
 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 }
 };
 
@@ -55,6 +54,8 @@ static void startup(void)
        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)
@@ -68,35 +69,13 @@ 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);
-}
+
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_duration_set_func b/TC/elm_ts/animator/utc_UIFW_elm_animator_duration_set_func
new file mode 100755 (executable)
index 0000000..25d9df1
Binary files /dev/null and b/TC/elm_ts/animator/utc_UIFW_elm_animator_duration_set_func differ
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_duration_set_func.c b/TC/elm_ts/animator/utc_UIFW_elm_animator_duration_set_func.c
new file mode 100644 (file)
index 0000000..313d681
--- /dev/null
@@ -0,0 +1,82 @@
+#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);
+}
+
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_operating_get_func b/TC/elm_ts/animator/utc_UIFW_elm_animator_operating_get_func
new file mode 100755 (executable)
index 0000000..2e2ae2b
Binary files /dev/null and b/TC/elm_ts/animator/utc_UIFW_elm_animator_operating_get_func differ
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_operating_get_func.c b/TC/elm_ts/animator/utc_UIFW_elm_animator_operating_get_func.c
new file mode 100644 (file)
index 0000000..f27a436
--- /dev/null
@@ -0,0 +1,111 @@
+#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);
+}
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_operation_callback_set_func b/TC/elm_ts/animator/utc_UIFW_elm_animator_operation_callback_set_func
new file mode 100755 (executable)
index 0000000..8d57fc4
Binary files /dev/null and b/TC/elm_ts/animator/utc_UIFW_elm_animator_operation_callback_set_func differ
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_operation_callback_set_func.c b/TC/elm_ts/animator/utc_UIFW_elm_animator_operation_callback_set_func.c
new file mode 100644 (file)
index 0000000..8853d22
--- /dev/null
@@ -0,0 +1,86 @@
+#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);
+}
+
+
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_pause_func b/TC/elm_ts/animator/utc_UIFW_elm_animator_pause_func
new file mode 100755 (executable)
index 0000000..3f0aabf
Binary files /dev/null and b/TC/elm_ts/animator/utc_UIFW_elm_animator_pause_func differ
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_pause_func.c b/TC/elm_ts/animator/utc_UIFW_elm_animator_pause_func.c
new file mode 100644 (file)
index 0000000..2336a3a
--- /dev/null
@@ -0,0 +1,88 @@
+#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);
+}
+
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_repeat_get_func b/TC/elm_ts/animator/utc_UIFW_elm_animator_repeat_get_func
new file mode 100755 (executable)
index 0000000..d7e8181
Binary files /dev/null and b/TC/elm_ts/animator/utc_UIFW_elm_animator_repeat_get_func differ
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_repeat_get_func.c b/TC/elm_ts/animator/utc_UIFW_elm_animator_repeat_get_func.c
new file mode 100644 (file)
index 0000000..cf53e5d
--- /dev/null
@@ -0,0 +1,105 @@
+#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);
+}
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_repeat_set_func b/TC/elm_ts/animator/utc_UIFW_elm_animator_repeat_set_func
new file mode 100755 (executable)
index 0000000..20ef7fd
Binary files /dev/null and b/TC/elm_ts/animator/utc_UIFW_elm_animator_repeat_set_func differ
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_repeat_set_func.c b/TC/elm_ts/animator/utc_UIFW_elm_animator_repeat_set_func.c
new file mode 100644 (file)
index 0000000..1e0d2b5
--- /dev/null
@@ -0,0 +1,81 @@
+#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);
+}
+
+
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_resume_func b/TC/elm_ts/animator/utc_UIFW_elm_animator_resume_func
new file mode 100755 (executable)
index 0000000..56df7d4
Binary files /dev/null and b/TC/elm_ts/animator/utc_UIFW_elm_animator_resume_func differ
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_resume_func.c b/TC/elm_ts/animator/utc_UIFW_elm_animator_resume_func.c
new file mode 100644 (file)
index 0000000..8c1d44a
--- /dev/null
@@ -0,0 +1,87 @@
+#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);
+}
+
+
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_stop_func b/TC/elm_ts/animator/utc_UIFW_elm_animator_stop_func
new file mode 100755 (executable)
index 0000000..ed98783
Binary files /dev/null and b/TC/elm_ts/animator/utc_UIFW_elm_animator_stop_func differ
diff --git a/TC/elm_ts/animator/utc_UIFW_elm_animator_stop_func.c b/TC/elm_ts/animator/utc_UIFW_elm_animator_stop_func.c
new file mode 100644 (file)
index 0000000..e283a97
--- /dev/null
@@ -0,0 +1,88 @@
+#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);
+}
+
+
index 00e86dc..685b325 100644 (file)
@@ -1 +1 @@
-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
diff --git a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_add_func b/TC/elm_ts/calendar/utc_UIFW_elm_calendar_add_func
deleted file mode 100755 (executable)
index 627706a..0000000
Binary files a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_add_func and /dev/null differ
diff --git a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_interval_get_func b/TC/elm_ts/calendar/utc_UIFW_elm_calendar_interval_get_func
deleted file mode 100755 (executable)
index f35df0e..0000000
Binary files a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_interval_get_func and /dev/null differ
diff --git a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_mark_add_func b/TC/elm_ts/calendar/utc_UIFW_elm_calendar_mark_add_func
deleted file mode 100755 (executable)
index 379e992..0000000
Binary files a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_mark_add_func and /dev/null differ
diff --git a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_selected_time_get_func b/TC/elm_ts/calendar/utc_UIFW_elm_calendar_selected_time_get_func
deleted file mode 100755 (executable)
index 657a9bc..0000000
Binary files a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_selected_time_get_func and /dev/null differ
index fabbc5d..f797ba8 100755 (executable)
Binary files a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_weekdays_names_get_func and b/TC/elm_ts/calendar/utc_UIFW_elm_calendar_weekdays_names_get_func differ