rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=94562aecfebc45fbeb43dfbf651b7c3e8f1dda73

commit 94562aecfebc45fbeb43dfbf651b7c3e8f1dda73
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Mon Jan 25 17:10:41 2016 +0000

    UTC: live view prop and live view is no more exist
    
    But instead of them we should do demo tests... I guess
---
 tests/Makefile.am                                  |  16 --
 tests/edj_build/Makefile.am                        |   2 -
 tests/test_live_view/live_view_add.c               |  74 ----------
 tests/test_live_view/live_view_theme_update.c      | 161 ---------------------
 tests/test_live_view/test_live_view.c              |  48 ------
 tests/test_live_view/test_live_view.h              |  31 ----
 tests/test_live_view_prop/live_view_property_add.c |  75 ----------
 .../test_live_view_prop/live_view_property_free.c  |  79 ----------
 tests/test_live_view_prop/test_live_view_prop.c    |  44 ------
 tests/test_live_view_prop/test_live_view_prop.h    |  29 ----
 10 files changed, 559 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 637440b..0b77365 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -26,8 +26,6 @@ ui_main_window_test \
 groupedit_test \
 ui_workspace_test \
 animator_test \
-live_view_test \
-live_view_prop_test \
 live_widget_test \
 about_window_test \
 colorselector_test \
@@ -341,20 +339,6 @@ animator_test_SOURCES = \
 animator_test_CFLAGS = ${FLAGS}
 animator_test_LDADD = ${LD}
 
-live_view_test_SOURCES = \
-../tests/test_live_view/test_live_view.c \
-../tests/test_live_view/live_view_add.c \
-../tests/test_live_view/live_view_theme_update.c
-live_view_test_CFLAGS = ${FLAGS}
-live_view_test_LDADD = ${LD}
-
-live_view_prop_test_SOURCES = \
-../tests/test_live_view_prop/test_live_view_prop.c \
-../tests/test_live_view_prop/live_view_property_add.c \
-../tests/test_live_view_prop/live_view_property_free.c
-live_view_prop_test_CFLAGS = ${FLAGS}
-live_view_prop_test_LDADD = ${LD}
-
 live_widget_test_SOURCES = \
 ../tests/test_live_widget/test_live_widget.c \
 ../tests/test_live_widget/live_widget_create.c \
diff --git a/tests/edj_build/Makefile.am b/tests/edj_build/Makefile.am
index 7c56648..08b46f4 100644
--- a/tests/edj_build/Makefile.am
+++ b/tests/edj_build/Makefile.am
@@ -42,8 +42,6 @@ check: Makefile
        $(builddir)/workspace_zoom_factor_get.edj \
        $(builddir)/groupedit_edit_object_unset.edj \
        $(builddir)/groupedit_edit_object_set.edj \
-       $(builddir)/live_view.edj \
-       $(builddir)/live_view_property.edj \
        $(builddir)/mw_icon_set.edj \
        $(builddir)/program_editor_window_add_test.edj \
        $(builddir)/style_editor.edj \
diff --git a/tests/test_live_view/live_view_add.c 
b/tests/test_live_view/live_view_add.c
deleted file mode 100644
index 41787c5..0000000
--- a/tests/test_live_view/live_view_add.c
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * Edje Theme Editor
- * Copyright (C) 2013-2014 Samsung Electronics.
- *
- * This file is part of Edje Theme Editor.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; If not, see www.gnu.org/licenses/lgpl.html.
- */
-
-#include "test_live_view.h"
-
-/**
- * @addtogroup live_view_test
- * @{
- * @addtogroup live_view_add
- * @{
- * live_view
- * <TABLE>
- * @}
- */
-
-/**
- * @addtogroup live_view_add
- * @{
- * <tr>
- * <td>live_view_add</td>
- * <td>live_view_add_test_p</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Create parent window.
- *
- * @procedure
- * @step 1 Call live_view_add.
- * @step 2 Check returned pointer.
- * </td>
- * <td>(Evas_Object *)parent</td>
- * <td>Not NULL pointer returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(live_view_add_test_p)
-{
-   Evas_Object *parent = NULL;
-   Live_View *live = NULL;
-
-   elm_init(0, 0);
-   parent = elm_win_add(NULL, "test", ELM_WIN_BASIC);
-
-//   live = live_view_add(parent, false);
-   ck_assert_msg(live != NULL, "Failed to create live view object.");
-
-   evas_object_del(parent);
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup live_view_add
- * @{
- * </TABLE>
- * @}
- * @}
- */
diff --git a/tests/test_live_view/live_view_theme_update.c 
b/tests/test_live_view/live_view_theme_update.c
deleted file mode 100644
index c287d33..0000000
--- a/tests/test_live_view/live_view_theme_update.c
+++ /dev/null
@@ -1,161 +0,0 @@
-/**
- * Edje Theme Editor
- * Copyright (C) 2013-2014 Samsung Electronics.
- *
- * This file is part of Edje Theme Editor.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; If not, see www.gnu.org/licenses/lgpl.html.
- */
-
-#include "test_live_view.h"
-#include "test_common.h"
-
-/**
- * @addtogroup live_view_test
- * @{
- * @addtogroup live_view_theme_update
- * @{
- * live_view
- * <TABLE>
- * @}
- */
-
-/**
- * @addtogroup live_view_theme_update
- * @{
- * <tr>
- * <td>live_view_theme_update</td>
- * <td>live_view_theme_update_test_p1</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Create parent window.
- * @step 3 Open project into Project structure. Use edj file,
- *         wich contain widgets and layout groups.
- * @step 4 Create style object as style.
- * @step 5 Load style data from edje file.
- * @step 6 Set loaded style as current loaded into project.
- * @step 7 Create live view object.
- * @step 8 Set style for live view object.
- *
- *
- * @procedure
- * @step 1 Call live_view_theme_update.
- * @step 2 Check returned value.
- * </td>
- * <td>(Live_View *)live, (Project *)project</td>
- * <td>EINA_TRUE returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(live_view_theme_update_test_p1)
-{
-   ck_assert(false);
-//   Evas *e = NULL;
-   Evas_Object *parent = NULL;
-//  Live_View *live = NULL;
-   Project *project = NULL;
- //  Style *style = NULL;
-   Eina_Bool res = EINA_FALSE;
-
-   elm_init(0, 0);
-
-   parent = elm_win_add(NULL, "test", ELM_WIN_BASIC);
-   project = setup("live_view_theme_update_test_p1");
- project = project;
- //  e = evas_object_evas_get(parent);
- /*  style = wm_style_add("def", "elm/radio/base/def", STYLE, NULL);
-   wm_style_data_load(style, e, project->mmap_file);
-   project->current_style = style;*/
-//   live = live_view_add(parent, false);
-//   live_view_widget_style_set(live, project, style);
-
-//   res = live_view_theme_update(live, project);
-   ck_assert_msg(res == EINA_TRUE, "Failed update style for widget in live 
view.");
-
-//   live_view_free(live);
-//   wm_style_free(style);
-   evas_object_del(parent);
-   teardown("./live_view_theme_update_test_p1");
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup live_view_theme_update
- * @{
- * <tr>
- * <td>live_view_theme_update</td>
- * <td>live_view_theme_update_test_p2</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Create parent window.
- * @step 3 Open project into Project structure. Use edj file,
- *         wich contain widgets and layout groups.
- * @step 4 Create style object as layout.
- * @step 5 Load style data from edje file.
- * @step 6 Set loaded style as current loaded into project.
- * @step 7 Create live view object.
- * @step 8 Set style for live view object.
- *
- *
- * @procedure
- * @step 1 Call live_view_theme_update.
- * @step 2 Check returned value.
- * </td>
- * <td>(Live_View *)live, (Project *)project</td>
- * <td>EINA_TRUE returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(live_view_theme_update_test_p2)
-{
-   ck_assert(false);
-//   Evas *e = NULL;
-   Evas_Object *parent = NULL;
-//   Live_View *live = NULL;
-   Project *project = NULL;
- //  Style *layout = NULL;
-   Eina_Bool res = EINA_FALSE;
-
-   elm_init(0, 0);
-
-   parent = elm_win_add(NULL, "test", ELM_WIN_BASIC);
-   project = setup("live_view_theme_update_test_p2");
- project = project;
- //  e = evas_object_evas_get(parent);
- /*  layout = wm_style_add("load/layout/test", "load/layout/test", LAYOUT, 
NULL);
-   wm_style_data_load(layout, e, project->mmap_file);
-   project->current_style = layout;*/
-//   live = live_view_add(parent, false);
-//   live_view_widget_style_set(live, project, layout);
-
-//   res = live_view_theme_update(live, project);
-   ck_assert_msg(res == EINA_TRUE, "Failed update style for layout in live 
view.");
-
-//   live_view_free(live);
-//   wm_style_free(layout);
-   evas_object_del(parent);
-   teardown("./live_view_theme_update_test_p2");
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup live_view_theme_update
- * @{
- * </TABLE>
- * @}
- * @}
- */
diff --git a/tests/test_live_view/test_live_view.c 
b/tests/test_live_view/test_live_view.c
deleted file mode 100644
index 7a3a9d9..0000000
--- a/tests/test_live_view/test_live_view.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * Edje Theme Editor
- * Copyright (C) 2013-2014 Samsung Electronics.
- *
- * This file is part of Edje Theme Editor.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; If not, see www.gnu.org/licenses/lgpl.html.
- */
-
-#include "test_live_view.h"
-
-Suite* test_suite (void) {
-   Suite *suite = suite_create("live_view_test");
-   TCase *tcase = tcase_create("TCase");
-
-
-   tcase_add_test(tcase, live_view_add_test_p);
-   tcase_add_test(tcase, live_view_theme_update_test_p1);
-   tcase_add_test(tcase, live_view_theme_update_test_p2);
-
-   suite_add_tcase(suite, tcase);
-
-   return suite;
-}
-
-int main(void) {
-   int number_failed;
-   Suite *suite = test_suite();
-   SRunner *runner = srunner_create(suite);
-
-   srunner_set_xml (runner, "test_live_view.xml");
-   srunner_run_all(runner, CK_VERBOSE);
-
-   number_failed = srunner_ntests_failed(runner);
-   srunner_free(runner);
-
-   return number_failed;
-}
diff --git a/tests/test_live_view/test_live_view.h 
b/tests/test_live_view/test_live_view.h
deleted file mode 100644
index b50bcf7..0000000
--- a/tests/test_live_view/test_live_view.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * Edje Theme Editor
- * Copyright (C) 2013-2014 Samsung Electronics.
- *
- * This file is part of Edje Theme Editor.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; If not, see www.gnu.org/licenses/lgpl.html.
- */
-
-#include "live_view.h"
-#include "utc_common.h"
-
-/**
- * @defgroup test_live_view
- */
-
-#define TEST_NAME "live_view"
-
-void live_view_add_test_p(int);
-void live_view_theme_update_test_p1(int);
-void live_view_theme_update_test_p2(int);
diff --git a/tests/test_live_view_prop/live_view_property_add.c 
b/tests/test_live_view_prop/live_view_property_add.c
deleted file mode 100644
index a184e39..0000000
--- a/tests/test_live_view_prop/live_view_property_add.c
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
- * Edje Theme Editor
- * Copyright (C) 2013-2014 Samsung Electronics.
- *
- * This file is part of Edje Theme Editor.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; If not, see www.gnu.org/licenses/lgpl.html.
- */
-
-#include "test_live_view_prop.h"
-
-/**
- * @addtogroup live_view_prop_test
- * @{
- * @addtogroup live_view_property_add
- * @{
- * live_view_prop
- * <TABLE>
- * @}
- */
-
-/**
- * @addtogroup live_view_property_add
- * @{
- * <tr>
- * <td>live_view_property_add</td>
- * <td>live_view_property_add_test_p</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Create parent window.
- *
- * @procedure
- * @step 1 Call live_view_property_add.
- * @step 2 Check returned pointer.
- * </td>
- * <td>(Evas_Object *)parent</td>
- * <td>Not NULL pointer returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(live_view_property_add_test_p)
-{
-   Evas_Object *parent = NULL;
-   Evas_Object *live = NULL;
-
-   elm_init(0, 0);
-   parent = elm_win_add(NULL, "test", ELM_WIN_BASIC);
-
-
-//   live = live_view_property_add(parent, false);
-   ck_assert_msg(live != NULL, "Failed to create live view property object.");
-
-   evas_object_del(parent);
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup live_view_property_add
- * @{
- * </TABLE>
- * @}
- * @}
- */
diff --git a/tests/test_live_view_prop/live_view_property_free.c 
b/tests/test_live_view_prop/live_view_property_free.c
deleted file mode 100644
index 70e8ba9..0000000
--- a/tests/test_live_view_prop/live_view_property_free.c
+++ /dev/null
@@ -1,79 +0,0 @@
-/**
- * Edje Theme Editor
- * Copyright (C) 2013-2014 Samsung Electronics.
- *
- * This file is part of Edje Theme Editor.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; If not, see www.gnu.org/licenses/lgpl.html.
- */
-
-#include "test_live_view_prop.h"
-
-/**
- * @addtogroup live_view_prop_test
- * @{
- * @addtogroup live_view_property_free
- * @{
- * live_view_prop
- * <TABLE>
- * @}
- */
-
-/**
- * @addtogroup live_view_property_free
- * @{
- * <tr>
- * <td>live_view_property_free</td>
- * <td>live_view_property_free_test_p</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Create parent window.
- * @step 3 Create live view property.
- *
- * @procedure
- * @step 1 Call live_view_property_free.
- * @step 2 Check result.
- * </td>
- * <td>(Evas_Object *)property</td>
- * <td>EINA_TRUE returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(live_view_property_free_test_p)
-{
-   Evas_Object *parent = NULL;
-   Evas_Object *live = NULL;
-   Eina_Bool result = EINA_FALSE;
-
-   elm_init(0, 0);
-   parent = elm_win_add(NULL, "test", ELM_WIN_BASIC);
-
-   //live = live_view_property_add(parent, false);
-   ck_assert_msg(live != NULL, "Failed to create live view property object.");
-
-   result = live_view_property_free(live);
-   ck_assert_msg(result == EINA_TRUE, "Could not delete live-view's 
property.");
-
-   evas_object_del(parent);
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup live_view_property_free
- * @{
- * </TABLE>
- * @}
- * @}
- */
diff --git a/tests/test_live_view_prop/test_live_view_prop.c 
b/tests/test_live_view_prop/test_live_view_prop.c
deleted file mode 100644
index 118f6ff..0000000
--- a/tests/test_live_view_prop/test_live_view_prop.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Edje Theme Editor
- * Copyright (C) 2013-2014 Samsung Electronics.
- *
- * This file is part of Edje Theme Editor.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; If not, see www.gnu.org/licenses/lgpl.html.
- */
-
-#include "test_live_view_prop.h"
-
-Suite* test_suite (void) {
-   Suite *suite = suite_create("live_view_prop_test");
-   TCase *tcase = tcase_create("TCase");
-
-   tcase_add_test(tcase, live_view_property_add_test_p);
-
-   tcase_add_test(tcase, live_view_property_free_test_p);
-
-   suite_add_tcase(suite, tcase);
-
-   return suite;
-}
-
-int main(void) {
-   int number_failed;
-   Suite *suite = test_suite();
-   SRunner *runner = srunner_create(suite);
-   srunner_set_xml (runner, "test_live_view_prop.xml");
-   srunner_run_all(runner, CK_VERBOSE);
-   number_failed = srunner_ntests_failed(runner);
-   srunner_free(runner);
-   return number_failed;
-}
diff --git a/tests/test_live_view_prop/test_live_view_prop.h 
b/tests/test_live_view_prop/test_live_view_prop.h
deleted file mode 100644
index a9341f5..0000000
--- a/tests/test_live_view_prop/test_live_view_prop.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Edje Theme Editor
- * Copyright (C) 2013-2014 Samsung Electronics.
- *
- * This file is part of Edje Theme Editor.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; If not, see www.gnu.org/licenses/lgpl.html.
- */
-
-#include "live_view_prop.h"
-#include "utc_common.h"
-
-/**
- * @defgroup test_live_view_prop
- */
-
-void live_view_property_add_test_p(int);
-
-void live_view_property_free_test_p(int);

-- 


Reply via email to