rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=b6301c332be7d2e9af9283240a5b5f50ed651fd8
commit b6301c332be7d2e9af9283240a5b5f50ed651fd8 Author: Vitalii Vorobiov <[email protected]> Date: Mon Jan 25 17:01:01 2016 +0000 UTC: no more notify --- tests/Makefile.am | 9 ---- tests/test_notify/noti_error_show_test.c | 71 ----------------------------- tests/test_notify/noti_info_show_test.c | 72 ------------------------------ tests/test_notify/noti_warning_show_test.c | 72 ------------------------------ tests/test_notify/test_notify.c | 41 ----------------- tests/test_notify/test_notify.h | 32 ------------- 6 files changed, 297 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 98d3a0f..637440b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -17,7 +17,6 @@ image_editor_test \ logger_test \ container_test \ modal_window_test \ -notify_test \ project_manager_test \ config_test \ cursor_test \ @@ -208,14 +207,6 @@ modal_window_test_SOURCES = \ modal_window_test_CFLAGS = ${FLAGS} modal_window_test_LDADD = ${LD} -notify_test_SOURCES = \ -../tests/test_notify/test_notify.c \ -../tests/test_notify/noti_error_show_test.c \ -../tests/test_notify/noti_warning_show_test.c \ -../tests/test_notify/noti_info_show_test.c -notify_test_CFLAGS = ${FLAGS} -notify_test_LDADD = ${LD} - project_manager_test_SOURCES = \ ../tests/test_project_manager/test_project_manager.c \ ../tests/test_project_manager/pm_project_import_edj.c \ diff --git a/tests/test_notify/noti_error_show_test.c b/tests/test_notify/noti_error_show_test.c deleted file mode 100644 index 391e32f..0000000 --- a/tests/test_notify/noti_error_show_test.c +++ /dev/null @@ -1,71 +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_notify.h" -/** - * @addtogroup notify_test - * @{ - * @addtogroup noti_error_show - * @{ - * Notify - * <TABLE> - * @} - */ - -/** - * @addtogroup noti_error_show - * @{ - * <tr> - * <td>noti_error_show</td> - * <td>noti_error_show_test_p</td> - * <td> - * @precondition - * @step 1. initialized efl and app - * @step 2. main window created - * - * @procedure - * @step 1 Call noti_error_show(win_layout_get(), "text") - * @step 2 Check returned value - * @step 3 Call noti_error_show(win_layout_get(), NULL) - * @step 4 Check returned value - * </td> - * <td>Evas_Object *win_layout, "text"/NULL</td> - * <td>EINA_TRUE returned</td> - * </tr> - * @} - */ -EFLETE_TEST(noti_error_show_test_p) -{ - elm_init(0,0); - app_init(); - ui_main_window_add(); - ck_assert_msg(noti_error_show(win_layout_get(), "text"), - "can't show notify with text"); - app_shutdown(); - elm_shutdown(); -} -END_TEST - -/** - * @addtogroup noti_error_show - * @{ - * </TABLE> - * @} - * @} - */ diff --git a/tests/test_notify/noti_info_show_test.c b/tests/test_notify/noti_info_show_test.c deleted file mode 100644 index 7ccb0b3..0000000 --- a/tests/test_notify/noti_info_show_test.c +++ /dev/null @@ -1,72 +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_notify.h" - -/** - * @addtogroup notify_test - * @{ - * @addtogroup noti_info_show - * @{ - * Notify - * <TABLE> - * @} - */ - -/** - * @addtogroup noti_info_show - * @{ - * <tr> - * <td>noti_info_show</td> - * <td>noti_info_show_test_p</td> - * <td> - * @precondition - * @step 1. initialized efl and app - * @step 2. main window created - * - * @procedure - * @step 1 Call noti_info_show(win_layout_get(), "text", 1) - * @step 2 Check returned value - * @step 3 Call noti_info_show(win_layout_get(), NULL, 1) - * @step 4 Check returned value - * </td> - * <td>Evas_Object *win_layout, "text"/NULL, 1</td> - * <td>EINA_TRUE returned</td> - * </tr> - * @} - */ -EFLETE_TEST(noti_info_show_test_p) -{ - elm_init(0,0); - app_init(); - ui_main_window_add(); - ck_assert_msg(noti_info_show(win_layout_get(), "text", 1), - "can't show notify with text"); - app_shutdown(); - elm_shutdown(); -} -END_TEST - -/** - * @addtogroup noti_info_show - * @{ - * </TABLE> - * @} - * @} - */ diff --git a/tests/test_notify/noti_warning_show_test.c b/tests/test_notify/noti_warning_show_test.c deleted file mode 100644 index 7caffe6..0000000 --- a/tests/test_notify/noti_warning_show_test.c +++ /dev/null @@ -1,72 +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_notify.h" - -/** - * @addtogroup notify_test - * @{ - * @addtogroup noti_warning_show - * @{ - * Notify - * <TABLE> - * @} - */ - -/** - * @addtogroup noti_warning_show - * @{ - * <tr> - * <td>noti_warning_show</td> - * <td>noti_warning_show_test_p</td> - * <td> - * @precondition - * @step 1. initialized efl and app - * @step 2. main window created - * - * @procedure - * @step 1 Call noti_warning_show(win_layout_get(), "text") - * @step 2 Check returned value - * @step 3 Call noti_warning_show(win_layout_get(), NULL) - * @step 4 Check returned value - * </td> - * <td>Evas_Object *win_layout, "text"/NULL</td> - * <td>EINA_TRUE returned</td> - * </tr> - * @} - */ -EFLETE_TEST(noti_warning_show_test_p) -{ - elm_init(0,0); - app_init(); - ui_main_window_add(); - ck_assert_msg(noti_warning_show(win_layout_get(), "text"), - "can't show notify with text"); - app_shutdown(); - elm_shutdown(); -} -END_TEST - -/** - * @addtogroup noti_warning_show - * @{ - * </TABLE> - * @} - * @} - */ diff --git a/tests/test_notify/test_notify.c b/tests/test_notify/test_notify.c deleted file mode 100644 index b5c6ecf..0000000 --- a/tests/test_notify/test_notify.c +++ /dev/null @@ -1,41 +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_notify.h" - -Suite* test_suite (void) { - Suite *suite = suite_create("notify_test"); - TCase *tcase = tcase_create("TCase"); - tcase_add_test(tcase, noti_error_show_test_p); - tcase_add_test(tcase, noti_warning_show_test_p); - tcase_add_test(tcase, noti_info_show_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_notify.xml"); - srunner_run_all(runner, CK_VERBOSE); - number_failed = srunner_ntests_failed(runner); - srunner_free(runner); - return number_failed; -} diff --git a/tests/test_notify/test_notify.h b/tests/test_notify/test_notify.h deleted file mode 100644 index 05f4441..0000000 --- a/tests/test_notify/test_notify.h +++ /dev/null @@ -1,32 +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 "utc_common.h" -#include "notify.h" -#include "main_window.h" - -/** - * @defgroup test_notify - */ - -void noti_error_show_test_p(int); - -void noti_warning_show_test_p(int); - -void noti_info_show_test_p(int); --
