ecore_evas: delete ecore_evas_comp_sync_get/set, ecore_evas_app_comp_sync_get/set 34/233934/1
authorWoochanlee <wc0917.lee@samsung.com>
Wed, 20 May 2020 10:30:22 +0000 (19:30 +0900)
committerWoochanlee <wc0917.lee@samsung.com>
Wed, 20 May 2020 10:30:22 +0000 (19:30 +0900)
The APIs will be deprecated.

Change-Id: I207ccc2ceb2d401c33b25f56fd2c74285f75e5e6

TC/ecore/ecore_evas/tslist
TC/ecore/ecore_evas/tslist_fhub
TC/ecore/ecore_evas/tslist_mobile
TC/ecore/ecore_evas/tslist_tv
TC/ecore/ecore_evas/tslist_wear
TC/ecore/ecore_evas/utc_ecore_evas_app_comp_sync_get_set.c [deleted file]
TC/ecore/ecore_evas/utc_ecore_evas_comp_sync_get_set.c [deleted file]

index 70777d2b607bb8c023a6f4de34c590fbb8b8fd73..da11916178ddefaa8ee7dd557c0c8f9a32767375 100644 (file)
@@ -1,7 +1,6 @@
 utc_ecore_evas_activate.c
 utc_ecore_evas_alpha_get.c
 utc_ecore_evas_alpha_set.c
-utc_ecore_evas_app_comp_sync_get_set.c
 utc_ecore_evas_aspect_get_set.c
 #utc_ecore_evas_aux_hint.c
 #utc_ecore_evas_avoid_damage_get_set.c
@@ -24,7 +23,6 @@ utc_ecore_evas_callback_show_set.c
 utc_ecore_evas_callback_state_change_set.c
 #utc_ecore_evas_callback_sticky_set.c
 #utc_ecore_evas_callback_unsticky_set.c
-utc_ecore_evas_comp_sync_get_set.c
 utc_ecore_evas_cursor_get_set.c
 utc_ecore_evas_cursor_unset.c
 utc_ecore_evas_data_get.c
index 031acba4af060e6c8e36cb62150bc6a781f93896..b953d314b4ac42f8490e6962670610ce64a5f356 100644 (file)
@@ -1,7 +1,6 @@
 utc_ecore_evas_activate.c
 utc_ecore_evas_alpha_get.c
 utc_ecore_evas_alpha_set.c
-utc_ecore_evas_app_comp_sync_get_set.c
 utc_ecore_evas_aspect_get_set.c
 #utc_ecore_evas_aux_hint.c
 #utc_ecore_evas_avoid_damage_get_set.c
@@ -24,7 +23,6 @@ utc_ecore_evas_callback_show_set.c
 utc_ecore_evas_callback_state_change_set.c
 #utc_ecore_evas_callback_sticky_set.c
 #utc_ecore_evas_callback_unsticky_set.c
-utc_ecore_evas_comp_sync_get_set.c
 utc_ecore_evas_cursor_get_set.c
 utc_ecore_evas_cursor_unset.c
 utc_ecore_evas_data_get.c
index dc647831b6cde0610582d77f86fe83652e6e992e..3179ad08d16a561263fd0b11b506337a3383aab3 100644 (file)
@@ -1,7 +1,6 @@
 utc_ecore_evas_activate.c
 utc_ecore_evas_alpha_get.c
 utc_ecore_evas_alpha_set.c
-utc_ecore_evas_app_comp_sync_get_set.c
 utc_ecore_evas_aspect_get_set.c
 #utc_ecore_evas_aux_hint.c
 #utc_ecore_evas_avoid_damage_get_set.c
@@ -24,7 +23,6 @@ utc_ecore_evas_callback_show_set.c
 utc_ecore_evas_callback_state_change_set.c
 #utc_ecore_evas_callback_sticky_set.c
 #utc_ecore_evas_callback_unsticky_set.c
-utc_ecore_evas_comp_sync_get_set.c
 utc_ecore_evas_cursor_get_set.c
 utc_ecore_evas_cursor_unset.c
 utc_ecore_evas_data_get.c
index d521cd34a9c22b3fe0f3b93e3a548d946491685f..e35f19927d8c2404c4ca4b2887f0b2a7e89bf4df 100644 (file)
@@ -1,7 +1,6 @@
 #utc_ecore_evas_activate.c
 #utc_ecore_evas_alpha_get.c
 #utc_ecore_evas_alpha_set.c
-#utc_ecore_evas_app_comp_sync_get_set.c
 #utc_ecore_evas_aspect_get_set.c
 #utc_ecore_evas_aux_hint.c
 #utc_ecore_evas_avoid_damage_get_set.c
@@ -24,7 +23,6 @@
 #utc_ecore_evas_callback_state_change_set.c
 #utc_ecore_evas_callback_sticky_set.c
 #utc_ecore_evas_callback_unsticky_set.c
-#utc_ecore_evas_comp_sync_get_set.c
 #utc_ecore_evas_cursor_get_set.c
 #utc_ecore_evas_cursor_unset.c
 #utc_ecore_evas_data_get.c
index d521cd34a9c22b3fe0f3b93e3a548d946491685f..e35f19927d8c2404c4ca4b2887f0b2a7e89bf4df 100644 (file)
@@ -1,7 +1,6 @@
 #utc_ecore_evas_activate.c
 #utc_ecore_evas_alpha_get.c
 #utc_ecore_evas_alpha_set.c
-#utc_ecore_evas_app_comp_sync_get_set.c
 #utc_ecore_evas_aspect_get_set.c
 #utc_ecore_evas_aux_hint.c
 #utc_ecore_evas_avoid_damage_get_set.c
@@ -24,7 +23,6 @@
 #utc_ecore_evas_callback_state_change_set.c
 #utc_ecore_evas_callback_sticky_set.c
 #utc_ecore_evas_callback_unsticky_set.c
-#utc_ecore_evas_comp_sync_get_set.c
 #utc_ecore_evas_cursor_get_set.c
 #utc_ecore_evas_cursor_unset.c
 #utc_ecore_evas_data_get.c
diff --git a/TC/ecore/ecore_evas/utc_ecore_evas_app_comp_sync_get_set.c b/TC/ecore/ecore_evas/utc_ecore_evas_app_comp_sync_get_set.c
deleted file mode 100644 (file)
index c2f4095..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Evas.h>
-#include <Ecore_Evas.h>
-#include <Ecore.h>
-#include "../utc_ecore_common.h"
-
-/**
- * @addtogroup ecore_evas
- * @{
- * @defgroup ecore_evas_app_comp_sync_get ecore_evas_app_comp_sync_get()
- *
- *
- * @precondition
- * @step 1 Initialize with ecore_evas_init()
- */
-
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ECORE_INIT();
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup ecore_evas_app_comp_sync_get
- * @{
- * @objective The positive test case checks if ecore_evas_app_comp_sync_get() succeeded.
- * @n Input Data: none.
- * @procedure
- * @step 1 Set ecore_evas_app_comp_sync_set() to EINA_TRUE.
- * @step 2 Call ecore_evas_app_comp_sync_get().
- * @step 3 Set ecore_evas_app_comp_sync_set() to EINA_FALSE.
- * @step 4 Call ecore_evas_app_comp_sync_get().
- * @step 5 Compare the result with the expected value.
- *
- * @passcondition
- * The EINA_TRUE, EINA_FALSE values were set by ecore_evas_app_comp_sync_set, and these values must return by ecore_evas_app_comp_sync_get.
- * @}
- */
-
-START_TEST(utc_ecore_evas_app_comp_sync_get_p)
-{
-   Eina_Bool eb1, eb2;
-
-   ecore_evas_app_comp_sync_set(EINA_TRUE);
-   eb1 = ecore_evas_app_comp_sync_get();
-   ecore_evas_app_comp_sync_set(EINA_FALSE);
-   eb2 = ecore_evas_app_comp_sync_get();
-
-   if ((EINA_TRUE != eb1) || (EINA_FALSE != eb2))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_ecore_evas_app_comp_sync_get_set()
-{
-   TCase *tcase = tcase_create("utc_ecore_evas_app_comp_sync_get_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_ecore_evas_app_comp_sync_get_p);
-   return tcase;
-}
diff --git a/TC/ecore/ecore_evas/utc_ecore_evas_comp_sync_get_set.c b/TC/ecore/ecore_evas/utc_ecore_evas_comp_sync_get_set.c
deleted file mode 100644 (file)
index 7645a77..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Evas.h>
-#include <Ecore_Evas.h>
-#include <Ecore.h>
-#include "../utc_ecore_common.h"
-
-#include "../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup ecore_evas
- * @{
- * @defgroup ecore_evas_comp_sync_get ecore_evas_comp_sync_get()
- *
- *
- * @precondition
- * @step 1 Initialize with ecore_evas_init()
- * @step 2 Create new ecore_evas canvas
- * @step 3 Set comp-sync property to FALSE
- */
-
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ECORE_INIT();
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 0, 0, 200, 200, NULL);
-   if (ee == NULL)
-     {
-        startup_status = EINA_FALSE;
-     }
-   else
-     {
-        startup_status = EINA_TRUE;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   if (ee != NULL)
-     {
-        ecore_evas_free(ee);
-     }
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup ecore_evas_comp_sync_get
- * @{
- * @objective The positive test case checks that tested function returns correct value which was set in startup.
- * @n Input Data: Ecore_Evas object specified by ee variable.
- * @procedure
- * @step 1 Call ecore_evas_comp_sync_get() to retrieve comp-sync property.
- * @step 2 Compare the result with the expected value.
- *
- * @passcondition
- * Function must return EINA_FALSE, and there is no segmentation fault.
- * @}
- */
-
-START_TEST(utc_ecore_evas_comp_sync_get_p)
-{
-   if (startup_status != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__,__LINE__);
-     }
-
-   Eina_Bool eb1, eb2;
-
-   ecore_evas_comp_sync_set(ee, EINA_TRUE);
-   eb1 = ecore_evas_comp_sync_get(ee);
-   ecore_evas_comp_sync_set(ee, EINA_FALSE);
-   eb2 = ecore_evas_comp_sync_get(ee);
-
-   if ((EINA_TRUE != eb1) || (EINA_FALSE != eb2))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup ecore_evas_comp_sync_get
- * @{
- * @objective  The negative test case checks if the argument of tested function (Ecore_Evas object) is NULL.
- * @n Input Data: Ecore_Evas object specified by ee variable.
- * @procedure
- * @step 1 Call ecore_evas_comp_sync_get() with NULL as the argument using universal macro.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-
-START_TEST(utc_ecore_evas_comp_sync_get_n)
-{
-
-   if (startup_status != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__,__LINE__);
-     }
-
-   UNITEST_FUNC_NEG(ecore_evas_comp_sync_get, ee);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup ecore_evas_comp_sync_set
- * @{
- * @objective The negative test case checks if the first argument of tested function (Ecore_Evas object) is NULL.
- * @n Input Data:
- * @li Ecore_Evas object specified by ee variable (it will be replaced by NULL in the universal macro);
- * @li  synchronization flag whose value is EINA_FALSE.
- * @procedure
- * @step 1 Use CREATE_CHECKED_ARGS_ARRAY macro for defining arguments of tested function which are subject to substitution for NULL.
- * @step 2 Use UNITEST_FUNC_NEG_CA for negative testing.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-
-START_TEST(utc_ecore_evas_comp_sync_set_n)
-{
-
-   if (startup_status != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__,__LINE__);
-     }
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(ecore_evas_comp_sync_set, ee, EINA_FALSE);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_ecore_evas_comp_sync_get_set()
-{
-   TCase *tcase = tcase_create("utc_ecore_evas_comp_sync_get_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_ecore_evas_comp_sync_get_p);
-   tcase_add_test(tcase, utc_ecore_evas_comp_sync_get_n);
-   tcase_add_test(tcase, utc_ecore_evas_comp_sync_set_n);
-   return tcase;
-}