rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=357e83a29c4afdbf26975f905e100d02ff4087c9

commit 357e83a29c4afdbf26975f905e100d02ff4087c9
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Wed Dec 23 18:29:16 2015 +0200

    fix UTC build
---
 tests/Makefile.am                                  |   3 -
 tests/test_ui_workspace/test_ui_workspace.c        |   4 -
 tests/test_ui_workspace/test_ui_workspace.h        |   4 -
 .../workspace_edit_object_part_above.c             |  93 -------------
 .../workspace_edit_object_part_below.c             |  95 -------------
 .../workspace_edit_object_part_restack.c           | 150 ---------------------
 6 files changed, 349 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index f4a3db0..e416ed3 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -384,9 +384,7 @@ ui_workspace_test_SOURCES = \
 ../tests/test_ui_workspace/test_ui_workspace.c \
 ../tests/test_ui_workspace/workspace_add.c \
 ../tests/test_ui_workspace/workspace_edit_object_get.c \
-../tests/test_ui_workspace/workspace_edit_object_part_above.c \
 ../tests/test_ui_workspace/workspace_edit_object_part_add.c \
-../tests/test_ui_workspace/workspace_edit_object_part_below.c \
 ../tests/test_ui_workspace/workspace_edit_object_part_del.c \
 ../tests/test_ui_workspace/workspace_edit_object_part_state_set.c \
 ../tests/test_ui_workspace/workspace_edit_object_recalc.c \
@@ -395,7 +393,6 @@ ui_workspace_test_SOURCES = \
 ../tests/test_ui_workspace/workspace_zoom_factor_set.c \
 ../tests/test_ui_workspace/workspace_separate_mode_set.c \
 ../tests/test_ui_workspace/workspace_separate_mode_get.c \
-../tests/test_ui_workspace/workspace_edit_object_part_restack.c \
 ../tests/test_ui_workspace/workspace_highlight_align_visible_get.c \
 ../tests/test_ui_workspace/workspace_highlight_align_visible_set.c \
 ../tests/test_ui_workspace/workspace_object_area_visible_get.c \
diff --git a/tests/test_ui_workspace/test_ui_workspace.c 
b/tests/test_ui_workspace/test_ui_workspace.c
index c25bcf3..da1db21 100644
--- a/tests/test_ui_workspace/test_ui_workspace.c
+++ b/tests/test_ui_workspace/test_ui_workspace.c
@@ -26,13 +26,9 @@ Suite* test_suite (void) {
    tcase_add_test(tcase, workspace_add_test_p);
    tcase_add_test(tcase, workspace_edit_object_get_test_p);
    tcase_add_test(tcase, workspace_edit_object_get_test_p1);
-   tcase_add_test(tcase, workspace_edit_object_part_above_test_p);
    tcase_add_test(tcase, workspace_edit_object_part_add_test_p);
    tcase_add_test(tcase, workspace_edit_object_part_add_test_p1);
-   tcase_add_test(tcase, workspace_edit_object_part_below_test_p);
    tcase_add_test(tcase, workspace_edit_object_part_del_test_p);
-   tcase_add_test(tcase, workspace_edit_object_part_restack_test_p1);
-   tcase_add_test(tcase, workspace_edit_object_part_restack_test_p2);
    tcase_add_test(tcase, workspace_edit_object_part_state_set_test_n2);
    tcase_add_test(tcase, workspace_edit_object_part_state_set_test_p);
    tcase_add_test(tcase, workspace_edit_object_recalc_test_p);
diff --git a/tests/test_ui_workspace/test_ui_workspace.h 
b/tests/test_ui_workspace/test_ui_workspace.h
index 10bb57d..bd7b71d 100644
--- a/tests/test_ui_workspace/test_ui_workspace.h
+++ b/tests/test_ui_workspace/test_ui_workspace.h
@@ -30,13 +30,9 @@
 void workspace_add_test_p(int);
 void workspace_edit_object_get_test_p(int);
 void workspace_edit_object_get_test_p1(int);
-void workspace_edit_object_part_above_test_p(int);
 void workspace_edit_object_part_add_test_p(int);
 void workspace_edit_object_part_add_test_p1(int);
-void workspace_edit_object_part_below_test_p(int);
 void workspace_edit_object_part_del_test_p(int);
-void workspace_edit_object_part_restack_test_p1(int);
-void workspace_edit_object_part_restack_test_p2(int);
 void workspace_edit_object_part_state_set_test_n2(int);
 void workspace_edit_object_part_state_set_test_p(int);
 void workspace_edit_object_recalc_test_p(int);
diff --git a/tests/test_ui_workspace/workspace_edit_object_part_above.c 
b/tests/test_ui_workspace/workspace_edit_object_part_above.c
deleted file mode 100644
index 161cf57..0000000
--- a/tests/test_ui_workspace/workspace_edit_object_part_above.c
+++ /dev/null
@@ -1,93 +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_ui_workspace.h"
-
-/**
- * @addtogroup ui_workspace_test
- * @{
- * @addtogroup workspace_edit_object_part_above
- * @{
- * ui_workspace
- * <TABLE>
- * @}
- */
-
-/**
- * @addtogroup workspace_edit_object_part_above
- * @{
- * <tr>
- * <td>workspace_edit_object_part_above</td>
- * <td>workspace_edit_object_part_above_test_p</td>
- * <td>
- * @precondition
- * @step 1 initialize elementary library
- * @step 2 load extenstion theme from EFLETE_THEME file
- * @step 3 create parent window
- * @step 4 Mmap edj file.
- * @step 5 create workspace object
- * @step 6 create style object
- * @step 7 load style data from edje file
- * @step 8 set edit object into workspace
- *
- * @procedure
- * @step 1 Above exist part. Here should returned EINA_TRUE.
- * </td>
- * <td>(Evas_Object *)workspace, (char *)"radio"</td>
- * <td>All check's passed'</td>
- * </tr>
- * @}
- */
-EFLETE_TEST (workspace_edit_object_part_above_test_p)
-{
-   elm_init(0, 0);
-   app_init();
-   Evas_Object *parent, *workspace;
-   Eina_Bool ret = EINA_FALSE;
-   Style *style = NULL;
-   Evas *e = NULL;
-   Eina_File *mmap_file = NULL;
-
-   parent = elm_win_add(NULL, "test", ELM_WIN_BASIC);
-   mmap_file = 
eina_file_open("./edj_build/workspace_edit_object_part_above.edj", EINA_FALSE);
-   workspace = workspace_add(parent, NULL);
-   e = evas_object_evas_get(parent);
-   style = wm_style_add("test", "elm/radio/base/def", STYLE, NULL);
-   wm_style_data_load(style, e, mmap_file);
-   ////workspace_edit_object_set(workspace, style, 
"./edj_build/workspace_edit_object_part_above.edj");
-   ret = workspace_edit_object_part_above(workspace, "radio");
-   ck_assert_msg(ret == EINA_TRUE, "Failed above part");
-
-   wm_style_free(style);
-   eina_file_close(mmap_file);
-   //workspace_edit_object_unset(workspace);
-   evas_object_del(workspace);
-   evas_object_del(parent);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup workspace_edit_object_part_above
- * @{
- * </TABLE>
- * @}
- * @}
- */
diff --git a/tests/test_ui_workspace/workspace_edit_object_part_below.c 
b/tests/test_ui_workspace/workspace_edit_object_part_below.c
deleted file mode 100644
index 40312ef..0000000
--- a/tests/test_ui_workspace/workspace_edit_object_part_below.c
+++ /dev/null
@@ -1,95 +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_ui_workspace.h"
-
-/**
- * @addtogroup ui_workspace_test
- * @{
- * @addtogroup workspace_edit_object_part_below
- * @{
- * ui_workspace
- * <TABLE>
- * @}
-*/
-
-/**
- * @addtogroup workspace_edit_object_part_below
- * @{
- * <tr>
- * <td>workspace_edit_object_part_below</td>
- * <td>workspace_edit_object_part_below_test_p</td>
- * <td>
- * @precondition
- * @step 1 initialize elementary library
- * @step 2 load extenstion theme from EFLETE_THEME file
- * @step 3 create parent window
- * @step 4 Mmap edj file.
- * @step 5 create workspace object
- * @step 6 create style object
- * @step 7 load style data from edje file
- * @step 8 set edit object into workspace
- *
- * @procedure
- * @step 1 Below exist part.
- * @step 2 Again below part.
- * </td>
- * <td>(Evas_Object *) workspace, (char *)"events"</td>
- * <td>All check's passed'</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(workspace_edit_object_part_below_test_p)
-{
-   Evas_Object *parent, *workspace;
-   Eina_Bool ret = EINA_FALSE;
-   Style *style = NULL;
-   Evas *e = NULL;
-   Eina_File *mmap_file = NULL;
-
-   elm_init(0, 0);
-   app_init();
-   parent = elm_win_add(NULL, "test", ELM_WIN_BASIC);
-   mmap_file = 
eina_file_open("./edj_build/workspace_edit_object_part_below.edj", EINA_FALSE);
-   workspace = workspace_add(parent, NULL);
-   e = evas_object_evas_get(parent);
-   style = wm_style_add("test", "elm/radio/base/def", STYLE, NULL);
-   wm_style_data_load(style, e, mmap_file);
-   //workspace_edit_object_set(workspace, style, 
"./edj_build/workspace_edit_object_part_below.edj");
-
-   ret = workspace_edit_object_part_below(workspace, "events");
-   ck_assert_msg(ret == EINA_TRUE, "Failed below part");
-
-   wm_style_free(style);
-   eina_file_close(mmap_file);
-   //workspace_edit_object_unset(workspace);
-   evas_object_del(workspace);
-   evas_object_del(parent);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup workspace_edit_object_part_below
- * @{
- * </TABLE>
- * @}
- * @}
- */
diff --git a/tests/test_ui_workspace/workspace_edit_object_part_restack.c 
b/tests/test_ui_workspace/workspace_edit_object_part_restack.c
deleted file mode 100644
index e2e8c09..0000000
--- a/tests/test_ui_workspace/workspace_edit_object_part_restack.c
+++ /dev/null
@@ -1,150 +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_ui_workspace.h"
-
-/**
- * @addtogroup ui_workspace_test
- * @{
- * @addtogroup workspace_edit_object_part_restack
- * @{
- * ui_workspace
- * <TABLE>
- * @}
- */
-
-/**
- * @addtogroup workspace_edit_object_part_restack
- * @{
- * <tr>
- * <td>workspace_edit_object_part_restack</td>
- * <td>workspace_edit_object_part_restack_test_p1</td>
- * <td>
- * @precondition
- * @step 1 initialize elementary library
- * @step 2 load extenstion theme from EFLETE_THEME file
- * @step 3 create parent window
- * @step 4 Mmap edj file.
- * @step 5 create workspace object
- * @step 6 create style object
- * @step 7 load style data from edje file
- * @step 8 set edit object into workspace
- *
- * @procedure
- * @step 1 Restack exist part below another exist part.
- * </td>
- * <td>(Evas_Object *)workspace, (const char *)"elm.swallow.content", (const 
char*)"elm.text", (Eina_Bool) EINA_FALSE</td>
- * <td>EINA_TRUE returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST (workspace_edit_object_part_restack_test_p1)
-{
-   elm_init(0, 0);
-   app_init();
-   Evas_Object *parent, *workspace;
-   Eina_Bool ret = EINA_FALSE;
-   Style *style = NULL;
-   Evas *e = NULL;
-   Eina_File *mmap_file = NULL;
-
-   parent = elm_win_add(NULL, "test", ELM_WIN_BASIC);
-   mmap_file = 
eina_file_open("./edj_build/workspace_edit_object_part_restack.edj", 
EINA_FALSE);
-   workspace = workspace_add(parent, NULL);
-   e = evas_object_evas_get(parent);
-   style = wm_style_add("test", "elm/radio/base/def", STYLE, NULL);
-   wm_style_data_load(style, e, mmap_file);
-   //workspace_edit_object_set(workspace, style, 
"./edj_build/workspace_edit_object_part_restack.edj");
-
-   ret = workspace_edit_object_part_restack(workspace, "elm.swallow.content", 
"elm.text", EINA_FALSE);
-   ck_assert_msg(ret == EINA_TRUE, "Failed below part \"elm.swallow.content\" 
relative to \"elm.text\"");
-
-   wm_style_free(style);
-   eina_file_close(mmap_file);
-   //workspace_edit_object_unset(workspace);
-   evas_object_del(workspace);
-   evas_object_del(parent);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup workspace_edit_object_part_restack
- * @{
- * <tr>
- * <td>workspace_edit_object_part_restack</td>
- * <td>workspace_edit_object_part_restack_test_p2</td>
- * <td>
- * @precondition
- * @step 1 initialize elementary library
- * @step 2 load extenstion theme from EFLETE_THEME file
- * @step 3 create parent window
- * @step 4 Mmap edj file.
- * @step 5 create workspace object
- * @step 6 create style object
- * @step 7 load style data from edje file
- * @step 8 set edit object into workspace
- *
- * @procedure
- * @step 1 Restack exist part below another exist part.
- * </td>
- * <td>(Evas_Object *)workspace, (const char *)"elm.swallow.content", (const 
char*)"bg", (Eina_Bool) EINA_TRUE</td>
- * <td>EINA_TRUE returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST (workspace_edit_object_part_restack_test_p2)
-{
-   elm_init(0, 0);
-   app_init();
-   Evas_Object *parent, *workspace;
-   Eina_Bool ret = EINA_FALSE;
-   Style *style = NULL;
-   Evas *e = NULL;
-   Eina_File *mmap_file = NULL;
-
-   parent = elm_win_add(NULL, "test", ELM_WIN_BASIC);
-   mmap_file = 
eina_file_open("./edj_build/workspace_edit_object_part_restack.edj", 
EINA_FALSE);
-   workspace = workspace_add(parent, NULL);
-   e = evas_object_evas_get(parent);
-   style = wm_style_add("test", "elm/radio/base/def", STYLE, NULL);
-   wm_style_data_load(style, e, mmap_file);
-   //workspace_edit_object_set(workspace, style, 
"./edj_build/workspace_edit_object_part_restack.edj");
-
-   ret = workspace_edit_object_part_restack(workspace, "elm.swallow.content", 
"bg", EINA_TRUE);
-   ck_assert_msg(ret == EINA_TRUE, "Failed below part \"elm.swallow.content\" 
relative to \"bg\"");
-
-   wm_style_free(style);
-   eina_file_close(mmap_file);
-   //workspace_edit_object_unset(workspace);
-   evas_object_del(workspace);
-   evas_object_del(parent);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup workspace_edit_object_part_restack
- * @{
- * </TABLE>
- * @}
- * @}
- */

-- 


Reply via email to