rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=936dec0a1be5b1c5ce14ed6a54b44176d16e5e49

commit 936dec0a1be5b1c5ce14ed6a54b44176d16e5e49
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Mon Oct 19 17:14:51 2015 +0300

    UTC: fix build
---
 tests/Makefile.am                                  |   1 -
 tests/test_ui_workspace/test_ui_workspace.c        |   3 -
 tests/test_ui_workspace/test_ui_workspace.h        |   3 -
 .../workspace_edit_object_part_rename.c            | 209 ---------------------
 4 files changed, 216 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 0406893..6272684 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -392,7 +392,6 @@ ui_workspace_test_SOURCES = \
 ../tests/test_ui_workspace/workspace_edit_object_part_state_del.c \
 ../tests/test_ui_workspace/workspace_edit_object_part_state_set.c \
 ../tests/test_ui_workspace/workspace_edit_object_recalc.c \
-../tests/test_ui_workspace/workspace_edit_object_part_rename.c \
 ../tests/test_ui_workspace/workspace_edit_object_visible_set.c \
 ../tests/test_ui_workspace/workspace_zoom_factor_get.c \
 ../tests/test_ui_workspace/workspace_zoom_factor_set.c \
diff --git a/tests/test_ui_workspace/test_ui_workspace.c 
b/tests/test_ui_workspace/test_ui_workspace.c
index 50fd75b..29af50e 100644
--- a/tests/test_ui_workspace/test_ui_workspace.c
+++ b/tests/test_ui_workspace/test_ui_workspace.c
@@ -41,9 +41,6 @@ Suite* test_suite (void) {
    tcase_add_test(tcase, workspace_edit_object_part_item_selected_set_test_n1);
    tcase_add_test(tcase, workspace_edit_object_part_item_selected_set_test_n4);
    tcase_add_test(tcase, workspace_edit_object_part_item_selected_set_test_p1);
-   tcase_add_test(tcase, workspace_edit_object_part_rename_test_n3);
-   tcase_add_test(tcase, workspace_edit_object_part_rename_test_p1);
-   tcase_add_test(tcase, workspace_edit_object_part_rename_test_p2);
    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_add_test_p);
diff --git a/tests/test_ui_workspace/test_ui_workspace.h 
b/tests/test_ui_workspace/test_ui_workspace.h
index 5edbe9f..0479c0f 100644
--- a/tests/test_ui_workspace/test_ui_workspace.h
+++ b/tests/test_ui_workspace/test_ui_workspace.h
@@ -45,9 +45,6 @@ void workspace_edit_object_part_item_del_test_p1(int);
 void workspace_edit_object_part_item_selected_set_test_n1(int);
 void workspace_edit_object_part_item_selected_set_test_n4(int);
 void workspace_edit_object_part_item_selected_set_test_p1(int);
-void workspace_edit_object_part_rename_test_n3(int);
-void workspace_edit_object_part_rename_test_p1(int);
-void workspace_edit_object_part_rename_test_p2(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_add_test_n(int);
diff --git a/tests/test_ui_workspace/workspace_edit_object_part_rename.c 
b/tests/test_ui_workspace/workspace_edit_object_part_rename.c
deleted file mode 100644
index 8cf5445..0000000
--- a/tests/test_ui_workspace/workspace_edit_object_part_rename.c
+++ /dev/null
@@ -1,209 +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_rename
- * @{
- * Groupedit
- * <TABLE>
- * @}
- */
-
-/**
- * @addtogroup workspace_edit_object_part_rename
- * @{
- * <tr>
- * <td>workspace_edit_object_part_rename</td>
- * <td>workspace_edit_object_part_rename_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 Rename part "radio" into "NEW_radio"
- * </td>
- * <td>(Evas_Object *) workspace, (const char *) old_name = "radio", (const 
char *) new_name = "NEW_radio"</td>
- * <td>EINA_TRUE</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(workspace_edit_object_part_rename_test_p1)
-{
-   elm_init(0, 0);
-   app_init();
-   Evas_Object *parent, *workspace;
-   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_rename.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_rename.edj");
-
-   ck_assert_msg(workspace_edit_object_part_rename(workspace, "radio", 
"NEW_radio"),
-                 "Renaming was unsuccesfull");
-
-   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_rename
- * @{
- * <tr>
- * <td>workspace_edit_object_part_rename</td>
- * <td>workspace_edit_object_part_rename_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 Check that there are no parts with name "NEW_radio"
- * @step 2 Rename part "radio" into "NEW_radio"
- * </td>
- * <td>(Evas_Object *) workspace, (const char *) old_name = "radio", (const 
char *) new_name = "NEW_radio"</td>
- * <td>All checks passed</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(workspace_edit_object_part_rename_test_p2)
-{
-   elm_init(0, 0);
-   app_init();
-   Evas_Object *parent, *workspace;
-   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_rename.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_rename.edj");
-
-   ck_assert_msg(workspace_edit_object_part_rename(workspace, "radio", 
"NEW_radio"),
-                 "Renaming was unsuccesfull");
-   ck_assert_msg(workspace_edit_object_part_rename(workspace, "NEW_radio", 
"radio"),
-                 "Renaming back was unsuccesfull");
-
-   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_rename
- * @{
- * <tr>
- * <td>workspace_edit_object_part_rename</td>
- * <td>workspace_edit_object_part_rename_test_n3</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 Rename part "radio" into its current name.
- * </td>
- * <td>(Evas_Object *) workspace, (const char *) old_name = "radio", (const 
char *) new_name = "radio"</td>
- * <td>EINA_FALSE</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(workspace_edit_object_part_rename_test_n3)
-{
-   elm_init(0, 0);
-   app_init();
-   Evas_Object *parent, *workspace;
-   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_rename.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_rename.edj");
-
-   ck_assert_msg(!workspace_edit_object_part_rename(workspace, "radio", 
"radio"),
-                 "Renaming part from radio to radio... So useless act!");
-
-   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_rename
- * @{
- * </TABLE>
- * @}
- * @}
- */

-- 


Reply via email to