The APIs will be deprecated.
Change-Id: I207ccc2ceb2d401c33b25f56fd2c74285f75e5e6
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
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
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
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
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
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
#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
#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
#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
#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
+++ /dev/null
-#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;
-}
+++ /dev/null
-#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;
-}