rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=5c70962f796b2c085ca75769fe7f8550b5143e8a
commit 5c70962f796b2c085ca75769fe7f8550b5143e8a Author: Vyacheslav Reutskiy <v.reuts...@samsung.com> Date: Mon Dec 7 11:22:31 2015 +0200 UTC: delete not actual tests Change-Id: I195b1b8b25c4707e8304f2beb207bd85b2c05c45 --- tests/Makefile.am | 2 - tests/test_groupedit/groupedit_bg_set.c | 119 ------------------------------ tests/test_groupedit/groupedit_bg_unset.c | 83 --------------------- tests/test_groupedit/test_groupedit.c | 5 -- tests/test_groupedit/test_groupedit.h | 5 -- 5 files changed, 214 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 1ebe7a6..f4a3db0 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -407,8 +407,6 @@ ui_workspace_test_LDADD = ${LD} groupedit_test_SOURCES = \ ../tests/test_groupedit/test_groupedit.c \ ../tests/test_groupedit/groupedit_add.c \ -../tests/test_groupedit/groupedit_bg_set.c \ -../tests/test_groupedit/groupedit_bg_unset.c \ ../tests/test_groupedit/groupedit_edit_object_part_above.c \ ../tests/test_groupedit/groupedit_edit_object_part_below.c \ ../tests/test_groupedit/groupedit_edit_object_part_draw_get.c \ diff --git a/tests/test_groupedit/groupedit_bg_set.c b/tests/test_groupedit/groupedit_bg_set.c deleted file mode 100644 index d033ce6..0000000 --- a/tests/test_groupedit/groupedit_bg_set.c +++ /dev/null @@ -1,119 +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_groupedit.h" - -/** - * @addtogroup groupedit_test - * @{ - * @addtogroup groupedit_bg_set - * @{ - * Groupedit - * <TABLE> - * @} - */ - -/** - * @addtogroup groupedit_bg_set - * @{ - * <tr> - * <td>groupedit_bg_set</td> - * <td>groupedit_bg_set_test_p</td> - * <td> - * @precondition - * @step 1 initialize elementary library - * @step 2 create parent window - * @step 3 create evas image - * - * @procedure - * @step 1 call groupedit_add - * @step 2 call groupedit_bg_set - * @step 3 check returned value - * </td> - * <td>(Evas_Object *) groupedit, (Evas_Object *) image</td> - * <td>Returned value is EINA_TRUE</td> - * </tr> - * @} - */ -EFLETE_TEST(groupedit_bg_set_test_p) -{ - Evas_Object *parent, *groupedit, *image; - Eina_Bool res; - - elm_init(0, 0); - - parent = elm_win_add(NULL, "test", ELM_WIN_BASIC); - image = evas_object_image_add(evas_object_evas_get(parent)); - - groupedit = groupedit_add(parent, NULL); - res = groupedit_bg_set(groupedit, image); - ck_assert_msg(res != EINA_FALSE, "Failed create groupedit object."); - evas_object_del(image); - evas_object_del(parent); - - elm_shutdown(); -} -END_TEST - -/** - * @addtogroup groupedit_bg_set - * @{ - * <tr> - * <td>groupedit_bg_set</td> - * <td>groupedit_bg_set_test_p1</td> - * <td> - * @precondition - * @step 1 initialize elementary library - * @step 2 create parent window - * - * @procedure - * @step 1 call groupedit_add - * @step 2 call groupedit_bg_set - * @step 3 check returned value - * </td> - * <td>(Evas_Object *) groupedit, NULL</td> - * <td>Returned value is EINA_TRUE</td> - * </tr> - * @} - */ -EFLETE_TEST(groupedit_bg_set_test_p1) -{ - Evas_Object *parent, *groupedit; - Eina_Bool res; - - elm_init(0, 0); - - parent = elm_win_add(NULL, "test", ELM_WIN_BASIC); - - groupedit = groupedit_add(parent, NULL); - res = groupedit_bg_set(groupedit, NULL); - ck_assert_msg(res != EINA_FALSE, "Failed create groupedit object."); - evas_object_del(parent); - - elm_shutdown(); -} -END_TEST - -/** - * @addtogroup groupedit_bg_set - * @{ - * </TABLE> - * @} - * @} - */ diff --git a/tests/test_groupedit/groupedit_bg_unset.c b/tests/test_groupedit/groupedit_bg_unset.c deleted file mode 100644 index 18ed9df..0000000 --- a/tests/test_groupedit/groupedit_bg_unset.c +++ /dev/null @@ -1,83 +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_groupedit.h" - -/** - * @addtogroup groupedit_test - * @{ - * @addtogroup groupedit_bg_unset - * @{ - * Groupedit - * <TABLE> - * @} - */ - -/** - * @addtogroup groupedit_bg_unset - * @{ - * <tr> - * <td>groupedit_bg_unset</td> - * <td>groupedit_bg_unset_test_p</td> - * <td> - * @precondition - * @step 1 initialize elementary library - * @step 2 create parent window - * @step 3 create evas image - * - * @procedure - * @step 1 call groupedit_add - * @step 2 call groupedit_bg_set - * @step 3 call groupedit_bg_unset - * @step 4 check returned value - * </td> - * <td>(Evas_Object *) groupedit</td> - * <td>Image pointer equal to setted image pointer</td> - * </tr> - * @} - */ -EFLETE_TEST(groupedit_bg_unset_test_p) -{ - Evas_Object *parent, *groupedit, *image; - Evas_Object *res_image; - - elm_init(0, 0); - - parent = elm_win_add(NULL, "test", ELM_WIN_BASIC); - image = evas_object_image_add(evas_object_evas_get(parent)); - - groupedit = groupedit_add(parent, NULL); - groupedit_bg_set(groupedit, image); - res_image = groupedit_bg_unset(groupedit); - ck_assert_msg(image == res_image, - "Failed to unset the bg image from groupedit."); - evas_object_del(image); - evas_object_del(parent); - - elm_shutdown(); -} -END_TEST - -/** - * @addtogroup groupedit_bg_unset - * @{ - * </TABLE> - * @} - * @} - */ diff --git a/tests/test_groupedit/test_groupedit.c b/tests/test_groupedit/test_groupedit.c index 3d40b94..6ddd57d 100644 --- a/tests/test_groupedit/test_groupedit.c +++ b/tests/test_groupedit/test_groupedit.c @@ -25,11 +25,6 @@ Suite* test_suite (void) { tcase_add_test(tcase, groupedit_add_test_p); - tcase_add_test(tcase, groupedit_bg_set_test_p); - tcase_add_test(tcase, groupedit_bg_set_test_p1); - - tcase_add_test(tcase, groupedit_bg_unset_test_p); - suite_add_tcase(suite, tcase); return suite; } diff --git a/tests/test_groupedit/test_groupedit.h b/tests/test_groupedit/test_groupedit.h index 7fea181..0c92830 100644 --- a/tests/test_groupedit/test_groupedit.h +++ b/tests/test_groupedit/test_groupedit.h @@ -51,8 +51,3 @@ void groupedit_container_size_set_test_n(int); void groupedit_container_size_get_test_p(int); void groupedit_container_size_get_test_n(int); - -void groupedit_bg_set_test_p(int); -void groupedit_bg_set_test_p1(int); - -void groupedit_bg_unset_test_p(int); --