rimmed pushed a commit to branch master.

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

commit bdec7cdb5b204c2c196409254d2c09caa6e8d9ba
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Mon Jul 20 12:00:07 2015 +0300

    UTC: fix style_editor tests
---
 tests/test_style_editor/style_editor_window_add.c | 107 ----------------------
 tests/test_style_editor/test_style_editor.c       |   3 -
 tests/test_style_editor/test_style_editor.h       |   3 -
 3 files changed, 113 deletions(-)

diff --git a/tests/test_style_editor/style_editor_window_add.c 
b/tests/test_style_editor/style_editor_window_add.c
index 180a00e..39eef9e 100644
--- a/tests/test_style_editor/style_editor_window_add.c
+++ b/tests/test_style_editor/style_editor_window_add.c
@@ -75,113 +75,6 @@ END_TEST
 /**
  * @addtogroup style_editor_window_add
  * @{
- * <tr>
- * <td>style_editor_window_add</td>
- * <td>style_editor_window_add_test_n1</td>
- * <td>
- * @precondition
- * @step 1 initialized elm
- *
- * @procedure
- * @step 1 Call style_editor_window_add() with NULL param
- * @step 2 Check  returned pointer
- * </td>
- * <td>NULL</td>
- * <td>returned pointer is NULL</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(style_editor_window_add_test_n1)
-{
-   elm_init(0,0);
-   ck_assert_msg(style_editor_window_add(NULL) == NULL,
-                 "Style editor created without app data");
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup style_editor_window_add
- * @{
- * <tr>
- * <td>style_editor_window_add</td>
- * <td>style_editor_window_add_test_n2</td>
- * <td>
- * @precondition
- * @step 1 initialized elm and app
- * @step 2 main window  NOT created
- * @step 3 project opened
- *
- * @procedure
- * @step 1 Call style_editor_window_add()
- * @step 2 Check  returned pointer
- * </td>
- * <td>Project *project</td>
- * <td>returned pointer is NULL</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(style_editor_window_add_test_n2)
-{
-   App_Data *app = NULL;
-
-   elm_init(0,0);
-   setup("style_editor_window_add_test_n2");
-
-   app_init();
-   app = app_data_get();
-   app->project = 
pm_project_open("./style_editor_window_add_test_n2/style_editor_window_add_test_n2.pro");
-   wm_widgets_list_objects_load(app->project->widgets,
-                                evas_object_evas_get(app->win),
-                                app->project->mmap_file);
-
-   ck_assert_msg(style_editor_window_add(app->project) == NULL,
-                 "Style_edtor added to non-existing window");
-
-   elm_shutdown();
-   teardown("./style_editor_window_add_test_n2");
-   app_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup style_editor_window_add
- * @{
- * <tr>
- * <td>style_editor_window_add</td>
- * <td>style_editor_window_add_test_n3</td>
- * <td>
- * @precondition
- * @step 1 initialized elm and app
- * @step 2 main window  created
- * @step 3 project NOT opened
- *
- * @procedure
- * @step 1 Call style_editor_window_add()
- * @step 2 Check  returned pointer
- * </td>
- * <td>Project *project</td>
- * <td>returned pointer is NULL</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(style_editor_window_add_test_n3)
-{
-   elm_init(0,0);
-   App_Data *app = NULL;
-   app_init();
-   app = app_data_get();
-   ui_main_window_add(app);
-   ck_assert_msg(style_editor_window_add(app->project) == NULL,
-                 "Style_edtor added without open project");
-   elm_shutdown();
-   app_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup style_editor_window_add
- * @{
  * </TABLE>
  * @}
  * @}
diff --git a/tests/test_style_editor/test_style_editor.c 
b/tests/test_style_editor/test_style_editor.c
index 2727e5f..96f6184 100644
--- a/tests/test_style_editor/test_style_editor.c
+++ b/tests/test_style_editor/test_style_editor.c
@@ -23,9 +23,6 @@ Suite* test_suite (void) {
    Suite *suite = suite_create("test_style_editor");
    TCase *tcase = tcase_create("TCase");
    tcase_add_test(tcase, style_editor_window_add_test_p);
-   tcase_add_test(tcase, style_editor_window_add_test_n1);
-   tcase_add_test(tcase, style_editor_window_add_test_n2);
-   tcase_add_test(tcase, style_editor_window_add_test_n3);
    suite_add_tcase(suite, tcase);
    return suite;
 }
diff --git a/tests/test_style_editor/test_style_editor.h 
b/tests/test_style_editor/test_style_editor.h
index 67d9e47..a3cf9e6 100644
--- a/tests/test_style_editor/test_style_editor.h
+++ b/tests/test_style_editor/test_style_editor.h
@@ -28,6 +28,3 @@
 #define TEST_NAME "style_editor"
 
 void style_editor_window_add_test_p(int);
-void style_editor_window_add_test_n1(int);
-void style_editor_window_add_test_n2(int);
-void style_editor_window_add_test_n3(int);

-- 


Reply via email to