rimmed pushed a commit to branch master.

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

commit f0c26d81ed722cb8e1cd2f7f367e2a762a1b27ba
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Wed Jul 22 17:52:15 2015 +0300

    UTC: fix hisoty tests
---
 tests/test_history/history_clear.c            |  31 --
 tests/test_history/history_diff_add.c         | 588 ++------------------------
 tests/test_history/history_genlist_get.c      |  71 ----
 tests/test_history/history_module_add.c       |  79 ----
 tests/test_history/history_module_del.c       | 179 --------
 tests/test_history/history_module_depth_get.c |  83 ----
 tests/test_history/history_module_depth_set.c |  90 +---
 tests/test_history/history_redo.c             | 174 +-------
 tests/test_history/history_term.c             |  31 --
 tests/test_history/history_undo.c             | 171 +-------
 tests/test_history/test_history.c             |  31 +-
 tests/test_history/test_history.h             |  31 +-
 12 files changed, 81 insertions(+), 1478 deletions(-)

diff --git a/tests/test_history/history_clear.c 
b/tests/test_history/history_clear.c
index ad95977..18eba48 100644
--- a/tests/test_history/history_clear.c
+++ b/tests/test_history/history_clear.c
@@ -67,37 +67,6 @@ END_TEST
 /**
  * @addtogroup history_clear
  * @{
- * <tr>
- * <td>history_clear</td>
- * <td>history_clear_test_n</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- *
- * @procedure
- * @step 1 Call history_clear.
- * @step 2 Check returned value.
- * </td>
- * <td>NULL</td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_clear_test_n)
-{
-   Eina_Bool result = EINA_TRUE;
-   elm_init(0, 0);
-
-   result = history_clear(NULL);
-   ck_assert_msg(!result, "Clear history without object.");
-
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_clear
- * @{
  * </TABLE>
  * @}
  * @}
diff --git a/tests/test_history/history_diff_add.c 
b/tests/test_history/history_diff_add.c
index 4109cb7..d5c576b 100644
--- a/tests/test_history/history_diff_add.c
+++ b/tests/test_history/history_diff_add.c
@@ -68,6 +68,8 @@ EFLETE_TEST(history_diff_add_test_p1)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -125,6 +127,8 @@ EFLETE_TEST(history_diff_add_test_p2)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -184,6 +188,8 @@ EFLETE_TEST(history_diff_add_test_p3)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -243,6 +249,8 @@ EFLETE_TEST(history_diff_add_test_p4)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -302,6 +310,8 @@ EFLETE_TEST(history_diff_add_test_p5)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -362,6 +372,8 @@ EFLETE_TEST(history_diff_add_test_p6)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -424,6 +436,8 @@ EFLETE_TEST(history_diff_add_test_p7)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -486,6 +500,8 @@ EFLETE_TEST(history_diff_add_test_p8)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -546,6 +562,8 @@ EFLETE_TEST(history_diff_add_test_p9)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -605,6 +623,8 @@ EFLETE_TEST(history_diff_add_test_p10)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -664,6 +684,8 @@ EFLETE_TEST(history_diff_add_test_p11)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -724,6 +746,8 @@ EFLETE_TEST(history_diff_add_test_p12)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -782,6 +806,8 @@ EFLETE_TEST(history_diff_add_test_p13)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -838,6 +864,8 @@ EFLETE_TEST(history_diff_add_test_p14)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    ee = ecore_evas_new(NULL, 0, 0, 10, 10, NULL);
    canvas = ecore_evas_get(ee);
    source = edje_edit_object_add(canvas);
@@ -894,6 +922,8 @@ EFLETE_TEST(history_diff_add_test_p15)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -948,6 +978,8 @@ EFLETE_TEST(history_diff_add_test_p16)
    app_init();
    app = app_data_get();
    app->history = history_init();
+   ui_main_window_add(app);
+   history_genlist_get(app->history, app->win);
    canvas = evas_new();
    source = edje_edit_object_add(canvas);
    edje_object_file_set(source, path, "elm/radio/base/def");
@@ -967,562 +999,6 @@ END_TEST
 /**
  * @addtogroup history_diff_add
  * @{
- * <tr>
- * <td>history_diff_add</td>
- * <td>history_diff_add_test_n1</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- *
- * @procedure
- * @step 1 Call history_diff_add without module object.
- * @step 2 Check returned value.
- * </td>
- * <td>NULL, PROPERTY</td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_diff_add_test_n1)
-{
-   App_Data *app = NULL;
-   Eina_Bool result = EINA_FALSE;
-
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-
-   result = history_diff_add(NULL, PROPERTY);
-   ck_assert_msg(!result, "Add new diff without module object.");
-
-   history_term(app->history);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_diff_add
- * @{
- * <tr>
- * <td>history_diff_add</td>
- * <td>history_diff_add_test_n2</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- * @step 4 Create canvas, that needed for creating source object.
- * @step 5 Create edje edit object, that will be source of changes.
- * @step 6 Register in history object created at step 5, as module.
- *
- * @procedure
- * @step 1 Call history_diff_add with wrong Target parametr.
- * @step 2 Check returned value.
- * </td>
- * <td>(Evas_Object *) source, 25, MODIFY, VAL_RENAME, (int) 10, (int) 15,
- *     (const char *) "elm/radio/base/def", (void *)edje_edit_part_name_set,
- *     "Rename", "bg", NULL, 0 </td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_diff_add_test_n2)
-{
-   App_Data *app = NULL;
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_FALSE;
-   const char *path;
-
-   path = "./edj_build/history_diff_add.edj";
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-   canvas = evas_new();
-   source = edje_edit_object_add(canvas);
-   edje_object_file_set(source, path, "elm/radio/base/def");
-   history_module_add(source);
-
-   result = history_diff_add(source, 25, MODIFY, VAL_RENAME, 10, 15,
-                             "elm/radio/base/def", (void 
*)edje_edit_part_name_set,
-                             "Rename", "bg", NULL, 0 );
-   ck_assert_msg(!result, "New diff added with wrong Target parametr.");
-
-   history_term(app->history);
-   evas_free(canvas);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_diff_add
- * @{
- * <tr>
- * <td>history_diff_add</td>
- * <td>history_diff_add_test_n3</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- * @step 4 Create canvas, that needed for creating source object.
- * @step 5 Create edje edit object, that will be source of changes.
- * @step 6 Register in history object created at step 5, as module.
- *
- * @procedure
- * @step 1 Call history_diff_add with wrong value type parametr.
- * @step 2 Check returned value.
- * </td>
- * <td>(Evas_Object *) source, PROPERTY, MODIFY, 110, (int) 10, (int) 15,
- *     (const char *) "elm/radio/base/def", (void *)edje_edit_part_name_set,
- *     "Rename", "bg", NULL, 0 </td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_diff_add_test_n3)
-{
-   App_Data *app = NULL;
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_FALSE;
-   const char *path;
-
-   path = "./edj_build/history_diff_add.edj";
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-   canvas = evas_new();
-   source = edje_edit_object_add(canvas);
-   edje_object_file_set(source, path, "elm/radio/base/def");
-   history_module_add(source);
-
-   result = history_diff_add(source, PROPERTY, MODIFY, 110, 10, 15,
-                             "elm/radio/base/def", (void 
*)edje_edit_part_name_set,
-                             "Rename", "bg", NULL, 0 );
-   ck_assert_msg(!result, "New diff added with wrong value type parametr.");
-
-   history_term(app->history);
-   evas_free(canvas);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_diff_add
- * @{
- * <tr>
- * <td>history_diff_add</td>
- * <td>history_diff_add_test_n5</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- * @step 4 Create canvas, that needed for creating source object.
- * @step 5 Create edje edit object, that will be source of changes.
- * @step 6 Register in history object created at step 5, as module.
- *
- * @procedure
- * @step 1 Call history_diff_add without function pointer.
- * @step 2 Check returned value.
- * </td>
- * <td>(Evas_Object *) source, PROPERTY, MODIFY, VAL_GROUP, (int) 10, (int) 15,
- *     (const char *) "elm/radio/base/def", NULL, "Group min w", "bg",
- *     "default", 0.0 </td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_diff_add_test_n5)
-{
-   App_Data *app = NULL;
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_FALSE;
-   const char *path;
-
-   path = "./edj_build/history_diff_add.edj";
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-   canvas = evas_new();
-   source = edje_edit_object_add(canvas);
-   edje_object_file_set(source, path, "elm/radio/base/def");
-   history_module_add(source);
-
-   result = history_diff_add(source, PROPERTY, MODIFY, VAL_GROUP, 10, 15,
-                             "elm/radio/base/def", NULL, "Group min w", "bg",
-                             "default", 0.0 );
-   ck_assert_msg(!result, "New diff added without function pointer.");
-
-   history_term(app->history);
-   evas_free(canvas);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_diff_add
- * @{
- * <tr>
- * <td>history_diff_add</td>
- * <td>history_diff_add_test_n6</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- * @step 4 Create canvas, that needed for creating source object.
- * @step 5 Create edje edit object, that will be source of changes.
- * @step 6 Register in history object created at step 5, as module.
- *
- * @procedure
- * @step 1 Call history_diff_add with random arguments.
- * @step 2 Check returned value.
- * </td>
- * <td>(Evas_Object *) source, PROPERTY, MODIFY, VAL_INT,
- *     (const char *) "elm/radio/base/def", (int) 10, NULL, 0.0,
- *     (const char *) "elm/radio/base/def", NULL, 11, "bg",
- *     555, 0.0 </td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_diff_add_test_n6)
-{
-   App_Data *app = NULL;
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_FALSE;
-   const char *path;
-
-   path = "./edj_build/history_diff_add.edj";
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-   canvas = evas_new();
-   source = edje_edit_object_add(canvas);
-   edje_object_file_set(source, path, "elm/radio/base/def");
-   history_module_add(source);
-
-   result = history_diff_add(source, PROPERTY, MODIFY, VAL_INT,
-                             (const char *) "elm/radio/base/def", (int) 10, 
NULL,
-                             0.0, (const char *) "elm/radio/base/def", NULL, 
11,
-                             "bg", 555, 0.0, source, 0.0 );
-   ck_assert_msg(!result, "New diff added with random params.");
-
-   history_term(app->history);
-   evas_free(canvas);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_diff_add
- * @{
- * <tr>
- * <td>history_diff_add</td>
- * <td>history_diff_add_test_n7</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- * @step 4 Create canvas, that needed for creating source object.
- * @step 5 Create edje edit object, that will be source of changes.
- * @step 6 Register in history object created at step 5, as module.
- *
- * @procedure
- * @step 1 Call history_diff_add  with incorrect data for value type VAL_STRING
- * with action type ADD. Wihout revert function.
- * @step 2 Check returned value.
- * </td>
- * <td>(Evas_Object *) source, PROPERTY, ADD, VAL_STRING, (const char *) 
"radio.png",
- *      NULL, (const char *) "elm/radio/base/def",
- *     (void *)edje_edit_state_tween_add, "tween add", "bg",
- *     (const char *) "default", 0.0 </td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_diff_add_test_n7)
-{
-   App_Data *app = NULL;
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_FALSE;
-   const char *path;
-
-   path = "./edj_build/history_diff_add.edj";
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-   canvas = evas_new();
-   source = edje_edit_object_add(canvas);
-   edje_object_file_set(source, path, "elm/radio/base/def");
-   history_module_add(source);
-
-   result = history_diff_add(source, PROPERTY, ADD, VAL_STRING, "radio.png",
-                              NULL, "elm/radio/base/def",
-                             (void *)edje_edit_state_tween_add,
-                             "tween add", "bg", "default", 0.0 );
-   ck_assert_msg(!result, "Add new diff with type VAL_STRING for action ADD"
-                          "without revert function.");
-
-   history_term(app->history);
-   evas_free(canvas);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_diff_add
- * @{
- * <tr>
- * <td>history_diff_add</td>
- * <td>history_diff_add_test_n8</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- * @step 4 Create canvas, that needed for creating source object.
- * @step 5 Create edje edit object, that will be source of changes.
- * @step 6 Register in history object created at step 5, as module.
- *
- * @procedure
- * @step 1 Call history_diff_add  with incorrect data for value type VAL_STRING
- * with action type DEL. Wihout revert function.
- * @step 2 Check returned value.
- * </td>
- * <td>(Evas_Object *) source, PROPERTY, DEL, VAL_STRING, (const char *) 
"radio.png",
- *      NULL, (const char *) "elm/radio/base/def",
- *     (void *)edje_edit_state_tween_del, "tween add", "bg",
- *     (const char *) "default", 0.0 </td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_diff_add_test_n8)
-{
-   App_Data *app = NULL;
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_FALSE;
-   const char *path;
-
-   path = "./edj_build/history_diff_add.edj";
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-   canvas = evas_new();
-   source = edje_edit_object_add(canvas);
-   edje_object_file_set(source, path, "elm/radio/base/def");
-   history_module_add(source);
-
-   result = history_diff_add(source, PROPERTY, DEL, VAL_STRING, "radio.png",
-                              NULL, "elm/radio/base/def",
-                             (void *)edje_edit_state_tween_del,
-                             "tween add", "bg", "default", 0.0 );
-   ck_assert_msg(!result, "Add new diff with type VAL_STRING for action DEL"
-                          "without revert function.");
-
-   history_term(app->history);
-   evas_free(canvas);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_diff_add
- * @{
- * <tr>
- * <td>history_diff_add</td>
- * <td>history_diff_add_test_n9</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- * @step 4 Create canvas, that needed for creating source object.
- * @step 5 Create edje edit object, that will be source of changes.
- * @step 6 Register in history object created at step 5, as module.
- *
- * @procedure
- * @step 1 Call history_diff_add  with first function pointer.
- * @step 2 Check returned value.
- * </td>
- * <td>(Evas_Object *) source, PROPERTY, CONTAINER, VAL_INT, (int) 5, (int) 10,
- *     (int) 20, (int) 8, NULL,
- *     (const char *) "elm/radio/base/def", (void *)edje_edit_state_max_h_set,
- *     "max size", "bg", "default", 0.0 </td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_diff_add_test_n9)
-{
-   App_Data *app = NULL;
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_TRUE;
-   const char *path;
-
-   path = "./edj_build/history_diff_add.edj";
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-   canvas = evas_new();
-   source = edje_edit_object_add(canvas);
-   edje_object_file_set(source, path, "elm/radio/base/def");
-   history_module_add(source);
-
-   result = history_diff_add(source, PROPERTY, CONTAINER, VAL_INT, 5, 10, 20, 
8,
-                             NULL, "elm/radio/base/def",
-                            (void *)edje_edit_state_max_h_set, "max size", 
"bg",
-                            "default", 0.0);
-   ck_assert_msg(!result, "Added new diff from highlight with VAL_INT value 
type, but"
-                          " without the pointer of function, that change first 
param");
-
-   history_term(app->history);
-   evas_free(canvas);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_diff_add
- * @{
- * <tr>
- * <td>history_diff_add</td>
- * <td>history_diff_add_test_n10</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- * @step 4 Create canvas, that needed for creating source object.
- * @step 5 Create edje edit object, that will be source of changes.
- * @step 6 Register in history object created at step 5, as module.
- *
- * @procedure
- * @step 1 Call history_diff_add with wrong action type (VAL_RENAME) for 
target type
- *         STATE_TARGET.
- * @step 2 Check returned value.
- * </td>
- * <td>(Evas_Object *) source, STATE_TARGET, VAL_RENAME, (const char *) 
"elm/radio/base/def",
- *     (const char *)"bg", (const char *)"new_state", (double) 0.0,
- *     (const char *) "create state"</td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_diff_add_test_n10)
-{
-   App_Data *app = NULL;
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_FALSE;
-   const char *path;
-
-   path = "./edj_build/history_diff_add.edj";
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-   canvas = evas_new();
-   source = edje_edit_object_add(canvas);
-   edje_object_file_set(source, path, "elm/radio/base/def");
-   history_module_add(source);
-
-   result = history_diff_add(source, STATE_TARGET, VAL_RENAME, 
"elm/radio/base/def",
-                             "bg", "new_state", 0.0, "create state");
-   ck_assert_msg(!result, "Added new diff from STATE_TARGET module with"
-                         " action type VAL_RENAME in the history of module.");
-
-   history_term(app->history);
-   evas_free(canvas);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_diff_add
- * @{
- * <tr>
- * <td>history_diff_add</td>
- * <td>history_diff_add_test_n11</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- * @step 4 Create canvas, that needed for creating source object.
- * @step 5 Create edje edit object, that will be source of changes.
- * @step 6 Register in history object created at step 5, as module.
- *
- * @procedure
- * @step 1 Call history_diff_add with wrong action type (MODIFY) for
- *         target type PART_TARGET.
- * @step 2 Check returned value.
- * </td>
- * <td>(Evas_Object *) source, PART_TARGET, MODIFY, (const char *)"bg"</td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_diff_add_test_n11)
-{
-   App_Data *app = NULL;
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_FALSE;
-   const char *path;
-
-   path = "./edj_build/history_diff_add.edj";
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-   canvas = evas_new();
-   source = edje_edit_object_add(canvas);
-   edje_object_file_set(source, path, "elm/radio/base/def");
-   history_module_add(source);
-
-   result = history_diff_add(source, PART_TARGET, MODIFY, "bg");
-   ck_assert_msg(!result, "Add new diff for PART_TARGET module with"
-                         " action type MODIFY in the history of module.");
-
-   history_term(app->history);
-   evas_free(canvas);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_diff_add
- * @{
  * </TABLE>
  * @}
  * @}
diff --git a/tests/test_history/history_genlist_get.c 
b/tests/test_history/history_genlist_get.c
index ae63bf2..e701653 100644
--- a/tests/test_history/history_genlist_get.c
+++ b/tests/test_history/history_genlist_get.c
@@ -112,77 +112,6 @@ END_TEST
 /**
  * @addtogroup history_genlist_get
  * @{
- * <tr>
- * <td>history_genlist_get</td>
- * <td>history_genlist_get_test_n1</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize history module.
- *
- * @procedure
- * @step 1 Call history_genlist_get without parent.
- * @step 2 Check returned pointer.
- * </td>
- * <td>(History *) history, NULL</td>
- * <td>NULL pointer returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_genlist_get_test_n1)
-{
-   History *history = NULL;
-   const Evas_Object *genlist = NULL;
-
-   elm_init(0, 0);
-   history = history_init();
-
-   genlist = history_genlist_get(history, NULL);
-   ck_assert_msg(genlist == NULL, "Get history genlist without parent.");
-
-   history_term(history);
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_genlist_get
- * @{
- * <tr>
- * <td>history_genlist_get</td>
- * <td>history_genlist_get_test_n2</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Create window, that will be parent for genlist.
- *
- * @procedure
- * @step 1 Call history_genlist_get. without history.
- * @step 2 Check returned pointer.
- * </td>
- * <td>NULL, (Evas_Object *)win</td>
- * <td>NULL pointer returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_genlist_get_test_n2)
-{
-   Evas_Object *win = NULL;
-   const Evas_Object *genlist = NULL;
-
-   elm_init(0, 0);
-   win = elm_win_add(NULL, "history_genlist_get", ELM_WIN_BASIC);
-
-   genlist = history_genlist_get(NULL, win);
-   ck_assert_msg(genlist == NULL, "Get history genlist without history.");
-
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_genlist_get
- * @{
  * </TABLE>
  * @}
  * @}
diff --git a/tests/test_history/history_module_add.c 
b/tests/test_history/history_module_add.c
index 3613fab..5c6616d 100644
--- a/tests/test_history/history_module_add.c
+++ b/tests/test_history/history_module_add.c
@@ -130,85 +130,6 @@ END_TEST
 /**
  * @addtogroup history_module_add
  * @{
- * <tr>
- * <td>history_module_add</td>
- * <td>history_module_add_test_n1</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Create canvas, that needed for creating source object.
- * @step 3 Create Evas_Object, that will be source of changes.
- *
- * @procedure
- * @step 1 Call history_module_add.
- * @step 2 Check returned value.
- * </td>
- * <td>(Evas_Object *) source</td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_module_add_test_n1)
-{
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_TRUE;
-
-   elm_init(0, 0);
-   canvas = evas_new();
-   source = evas_object_rectangle_add(canvas);
-
-   result = history_module_add(source);
-   ck_assert_msg(!result, "Add new module in history, without init history 
module");
-
-   evas_free(canvas);
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_module_add
- * @{
- * <tr>
- * <td>history_module_add</td>
- * <td>history_module_add_test_n2</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- *
- * @procedure
- * @step 1 Call history_module_add.
- * @step 2 Check returned value.
- * </td>
- * <td>NULL</td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_module_add_test_n2)
-{
-   App_Data *app = NULL;
-   Eina_Bool result = EINA_TRUE;
-
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-
-   result = history_module_add(NULL);
-   ck_assert_msg(!result, "Add NULL pointer as new module in history.");
-
-   history_term(app->history);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_module_add
- * @{
  * </TABLE>
  * @}
  * @}
diff --git a/tests/test_history/history_module_del.c 
b/tests/test_history/history_module_del.c
index 68aec98..d665f81 100644
--- a/tests/test_history/history_module_del.c
+++ b/tests/test_history/history_module_del.c
@@ -81,185 +81,6 @@ END_TEST
 /**
  * @addtogroup history_module_del
  * @{
- * <tr>
- * <td>history_module_del</td>
- * <td>history_module_del_test_p2</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- * @step 4 Create canvas, that needed for creating source object.
- * @step 5 Create Evas_Object, that will be source of changes.
- * @step 6 Initialize module with object from step 5.
- *
- * @procedure
- * @step 1 Call history_module_del with source object from step 4.
- * @step 2 Check returned value.
- * @step 3 Call history_module_del again with the same object.
- * @step 4 Check returned value.
- * </td>
- * <td>(Evas_Object *) source</td>
- * <td>All checks passed</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_module_del_test_p2)
-{
-   App_Data *app = NULL;
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_FALSE;
-
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-   canvas = evas_new();
-   source = evas_object_rectangle_add(canvas);
-   history_module_add(source);
-
-   result = history_module_del(source);
-   ck_assert_msg(result, "Failed to del module from history.");
-   result = history_module_del(source);
-   ck_assert_msg(!result, "Already deleted module deleted again.");
-
-   history_term(app->history);
-   evas_free(canvas);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_module_del
- * @{
- * <tr>
- * <td>history_module_del</td>
- * <td>history_module_del_test_n1</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- * @step 4 Create canvas, that needed for creating source object.
- * @step 5 Create Evas_Object, that will be source of changes.
- *
- * @procedure
- * @step 1 Call history_module_del.
- * @step 2 Check returned value.
- * </td>
- * <td>(Evas_Object *) source</td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_module_del_test_n1)
-{
-   App_Data *app = NULL;
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_TRUE;
-
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-   canvas = evas_new();
-   source = evas_object_rectangle_add(canvas);
-
-   result = history_module_del(source);
-   ck_assert_msg(!result, "Delete module, without init module in history.");
-
-   history_term(app->history);
-   evas_free(canvas);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_module_del
- * @{
- * <tr>
- * <td>history_module_del</td>
- * <td>history_module_del_test_n2</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- *
- * @procedure
- * @step 1 Call history_module_del.
- * @step 2 Check returned value.
- * </td>
- * <td>NULL</td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_module_del_test_n2)
-{
-   App_Data *app = NULL;
-   Eina_Bool result = EINA_TRUE;
-
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-
-   result = history_module_del(NULL);
-   ck_assert_msg(!result, "Delete NULL pointer module from history.");
-
-   history_term(app->history);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_module_del
- * @{
- * <tr>
- * <td>history_module_del</td>
- * <td>history_module_del_test_n3</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Create canvas, that needed for creating source object.
- * @step 3 Create Evas_Object, that will be source of changes.
- *
- * @procedure
- * @step 1 Call history_module_del.
- * @step 2 Check returned value.
- * </td>
- * <td>(Evas_Object *) source</td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_module_del_test_n3)
-{
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_TRUE;
-
-   elm_init(0, 0);
-   canvas = evas_new();
-   source = evas_object_rectangle_add(canvas);
-
-   result = history_module_del(source);
-   ck_assert_msg(!result, "Delete module, without init history.");
-
-   evas_free(canvas);
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_module_del
- * @{
  * </TABLE>
  * @}
  * @}
diff --git a/tests/test_history/history_module_depth_get.c 
b/tests/test_history/history_module_depth_get.c
index b35c5b4..72c67d7 100644
--- a/tests/test_history/history_module_depth_get.c
+++ b/tests/test_history/history_module_depth_get.c
@@ -138,89 +138,6 @@ END_TEST
 /**
  * @addtogroup history_module_depth_get
  * @{
- * <tr>
- * <td>history_module_depth_get</td>
- * <td>history_module_depth_get_test_n1</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- * @step 4 Create canvas, that needed for creating source object.
- * @step 5 Create edje edit object, that will be source of changes.
- *
- * @procedure
- * @step 1 Call history_module_depth_get
- * @step 2 Check returned value.
- * </td>
- * <td>(Evas_Object *) source</td>
- * <td>-1 returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_module_depth_get_test_n1)
-{
-   App_Data *app = NULL;
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   int result = 0;
-   const char *path;
-
-   path = "./edj_build/history_module_depth_get.edj";
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-   canvas = evas_new();
-   source = edje_edit_object_add(canvas);
-   edje_object_file_set(source, path, "elm/radio/base/def");
-
-   result = history_module_depth_get(source);
-   ck_assert_msg(result < 0, "Getted history depth from object, that not 
registered"
-                 " as module");
-
-   history_term(app->history);
-   evas_free(canvas);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_module_depth_get
- * @{
- * <tr>
- * <td>history_module_depth_get</td>
- * <td>history_module_depth_get_test_n2</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- *
- * @procedure
- * @step 1 Call history_module_depth_get
- * @step 2 Check returned value.
- * </td>
- * <td>NULL</td>
- * <td>EINA_FALSE returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_module_depth_get_test_n2)
-{
-   int result = 0;
-
-   elm_init(0, 0);
-
-   result = history_module_depth_get(NULL);
-   ck_assert_msg(result < 0, "Getted history depth from NULL object");
-
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_module_depth_get
- * @{
  * </TABLE>
  * @}
  * @}
diff --git a/tests/test_history/history_module_depth_set.c 
b/tests/test_history/history_module_depth_set.c
index b744fbf..7e4f23f 100644
--- a/tests/test_history/history_module_depth_set.c
+++ b/tests/test_history/history_module_depth_set.c
@@ -139,14 +139,15 @@ EFLETE_TEST(history_module_depth_set_test_p2)
    app->project = 
pm_project_open("./history_module_depth_set_test_p2/history_module_depth_set_test_p2.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
    history_module_depth_set(style->obj, 3);
    edje_edit_group_max_h_set(style->obj, new_value);
-   history_diff_add(style->obj, PROPERTY, MODIFY, VAL_GROUP, 0, new_value,
-                    "elm/radio/base/def", (void *)edje_edit_group_max_h_set,
-                    "Min h", NULL, NULL, 0.0);
+   history_diff_add(style->obj, PROPERTY, CONTAINER, VAL_GROUP, 0, new_value, 
0, new_value,
+                    (void *)edje_edit_group_max_h_set, "elm/radio/base/def",
+                    (void *)edje_edit_group_max_w_set, "group_h", NULL, NULL, 
0.0);
    edje_edit_state_color_set(style->obj, "radio", "default", 0.0, 80, 90, 100, 
120);
    history_diff_add(style->obj, PROPERTY, MODIFY, VAL_FOUR, 0, 0, 0, 0,
                     80, 90, 100, 120, "elm/radio/base/def",
@@ -178,89 +179,6 @@ END_TEST
 /**
  * @addtogroup history_module_depth_set
  * @{
- * <tr>
- * <td>history_module_depth_set</td>
- * <td>history_module_depth_set_test_n1</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize history module.
- * @step 4 Create canvas, that needed for creating source object.
- * @step 5 Create edje edit object, that will be source of changes.
- *
- * @procedure
- * @step 1 Call history_module_depth_set with value depth equal 2
- * @step 2 Check returned value.
- * </td>
- * <td>(Evas_Object *) source, (int) 2 </td>
- * <td>EINA_FALSE returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_module_depth_set_test_n1)
-{
-   App_Data *app = NULL;
-   Evas *canvas = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_FALSE;
-   const char *path;
-
-   path = "./edj_build/history_module_depth_set.edj";
-   elm_init(0, 0);
-   app_init();
-   app = app_data_get();
-   app->history = history_init();
-   canvas = evas_new();
-   source = edje_edit_object_add(canvas);
-   edje_object_file_set(source, path, "elm/radio/base/def");
-
-   result = history_module_depth_set(source, 2);
-   ck_assert_msg(!result, "Setted new history depth for object, that not 
registered"
-                 " as module");
-
-   history_term(app->history);
-   evas_free(canvas);
-   app_shutdown();
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_module_depth_set
- * @{
- * <tr>
- * <td>history_module_depth_set</td>
- * <td>history_module_depth_set_test_n2</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- *
- * @procedure
- * @step 1 Call history_module_depth_set with value depth equal 2
- * @step 2 Check returned value.
- * </td>
- * <td>NULL, (int) 2 </td>
- * <td>EINA_FALSE returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_module_depth_set_test_n2)
-{
-   Eina_Bool result = true;
-
-   elm_init(0, 0);
-
-   result = history_module_depth_set(NULL, 2);
-   ck_assert_msg(!result, "Seted new history depth for NULL object");
-
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_module_depth_set
- * @{
  * </TABLE>
  * @}
  * @}
diff --git a/tests/test_history/history_redo.c 
b/tests/test_history/history_redo.c
index 5bd280d..8f9a30b 100644
--- a/tests/test_history/history_redo.c
+++ b/tests/test_history/history_redo.c
@@ -82,6 +82,7 @@ EFLETE_TEST(history_redo_test_p1)
    app->project = 
pm_project_open("./history_redo_test_p1/history_redo_test_p1.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -157,6 +158,7 @@ EFLETE_TEST(history_redo_test_p2)
    app->project = 
pm_project_open("./history_redo_test_p2/history_redo_test_p2.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -241,6 +243,7 @@ EFLETE_TEST(history_redo_test_p3)
    app->project = 
pm_project_open("./history_redo_test_p3/history_redo_test_p3.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -333,6 +336,7 @@ EFLETE_TEST(history_redo_test_p4)
    app->project = 
pm_project_open("./history_redo_test_p4/history_redo_test_p4.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -415,6 +419,7 @@ EFLETE_TEST(history_redo_test_p5)
    app->project = 
pm_project_open("./history_redo_test_p5/history_redo_test_p5.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -492,6 +497,7 @@ EFLETE_TEST(history_redo_test_p6)
    app->project = 
pm_project_open("./history_redo_test_p6/history_redo_test_p6.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -575,6 +581,7 @@ EFLETE_TEST(history_redo_test_p7)
    app->project = 
pm_project_open("./history_redo_test_p7/history_redo_test_p7.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -658,6 +665,7 @@ EFLETE_TEST(history_redo_test_p8)
    app->project = 
pm_project_open("./history_redo_test_p8/history_redo_test_p8.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -739,6 +747,7 @@ EFLETE_TEST(history_redo_test_p9)
    app->project = 
pm_project_open("./history_redo_test_p9/history_redo_test_p9.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -817,6 +826,7 @@ EFLETE_TEST(history_redo_test_p10)
    app->project = 
pm_project_open("./history_redo_test_p10/history_redo_test_p10.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -890,6 +900,7 @@ EFLETE_TEST(history_redo_test_p11)
    app->project = 
pm_project_open("./history_redo_test_p11/history_redo_test_p11.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -964,6 +975,7 @@ EFLETE_TEST(history_redo_test_p12)
    app->project = 
pm_project_open("./history_redo_test_p12/history_redo_test_p12.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1043,6 +1055,7 @@ EFLETE_TEST(history_redo_test_p13)
    app->project = 
pm_project_open("./history_redo_test_p13/history_redo_test_p13.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1125,6 +1138,7 @@ EFLETE_TEST(history_redo_test_p14)
    app->project = 
pm_project_open("./history_redo_test_p14/history_redo_test_p14.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1200,6 +1214,7 @@ EFLETE_TEST(history_redo_test_p15)
    app->project = 
pm_project_open("./history_redo_test_p15/history_redo_test_p15.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1267,6 +1282,7 @@ EFLETE_TEST(history_redo_test_p16)
    app->project = 
pm_project_open("./history_redo_test_p16/history_redo_test_p16.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1334,6 +1350,7 @@ EFLETE_TEST(history_redo_test_p17)
    app->project = 
pm_project_open("./history_redo_test_p17/history_redo_test_p17.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1400,10 +1417,11 @@ EFLETE_TEST(history_redo_test_p18)
    app->project = 
pm_project_open("./history_redo_test_p18/history_redo_test_p18.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
-   edje_edit_part_add(style->obj, "part_add", EDJE_PART_TYPE_RECTANGLE);
+   workspace_edit_object_part_add(app->workspace, "part_add", 
EDJE_PART_TYPE_RECTANGLE, NULL);
    history_diff_add(style->obj, PART_TARGET, ADD, "part_add");
    history_undo(style->obj, 1);
 
@@ -1469,6 +1487,7 @@ EFLETE_TEST(history_redo_test_p19)
    app->project = 
pm_project_open("./history_redo_test_p19/history_redo_test_p19.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1495,159 +1514,6 @@ END_TEST
 /**
  * @addtogroup history_redo
  * @{
- * <tr>
- * <td>history_redo</td>
- * <td>history_redo_test_n1</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Create canvas, that needed for creating source object.
- * @step 4 Create edje edit object, that will be source of changes.
- *
- * @procedure
- * @step 1 Call history_redo for object from step 5 of precondition.
- * @step 2 Check returned value.
- *
- * </td>
- * <td>(Evas_Object *) source, (int) 1 </td>
- * <td>EINA_FALSE returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_redo_test_n1)
-{
-   Evas *canvas = NULL;
-   Ecore_Evas *ee = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_FALSE;
-   char *edj;
-
-   edj = "./edj_build/history.edj";
-   elm_init(0, 0);
-   setup("history_redo_test_n1");
-
-   ee = ecore_evas_new(NULL, 0, 0, 10, 10, NULL);
-   canvas = ecore_evas_get(ee);
-   source = edje_edit_object_add(canvas);
-   edje_object_file_set(source, edj, "elm/radio/base/def");
-
-   result = history_redo(source, 1);
-   ck_assert_msg(!result, "Change was restored with uninitialized history 
module.");
-
-   ecore_evas_free(ee);
-   teardown("./history_redo_test_n1");
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_redo
- * @{
- * <tr>
- * <td>history_redo</td>
- * <td>history_redo_test_n2</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize main window.
- * @step 4 Open project.
- * @step 5 Fill widget inlist with data.
- * @step 6 Find style that represent the group "elm/radio/base/def"
- * @step 7 Load style into project.
- * @step 8 Register in history style object, that finded at step 6, as module.
- * @step 9 Save current value of  min height param of "bg" part.
- * @step 10 Set new value [10] for min height param of "bg" part.
- * @step 11 Store diff with using history_diff_add function.
- *
- * @procedure
- * @step 1 Call history_redo for object from step 6 of precondition.
- * @step 2 Check returned value.
- *
- * </td>
- * <td>(Evas_Object *) style->obj, (int) -1 </td>
- * <td>EINA_FALSE returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_redo_test_n2)
-{
-   App_Data *app = NULL;
-   Style *style = NULL;
-   Eina_Bool result = EINA_FALSE;
-   int old_value = -1;
-   int new_value = 10;
-
-   elm_init(0, 0);
-   app_init();
-   setup("history_redo_test_n2");
-
-   app = app_data_get();
-   ui_main_window_add(app);
-   app->project = 
pm_project_open("./history_redo_test_n2/history_redo_test_n2.pro");
-   wm_widgets_list_objects_load(app->project->widgets,
-                                evas_object_evas_get(app->win), 
app->project->mmap_file);
-   style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
-   ui_style_clicked(app, style);
-   history_module_add(style->obj);
-   edje_object_mmap_set(style->obj, app->project->mmap_file, 
"elm/radio/base/def");
-   history_module_add(style->obj);
-   old_value = edje_edit_state_min_h_get(style->obj, "bg", "default", 0.0);
-   edje_edit_state_min_h_set(style->obj, "bg", "default", 0.0, new_value);
-   history_diff_add(style->obj, PROPERTY, MODIFY, VAL_INT, old_value, 
new_value,
-                    "elm/radio/base/def", (void *)edje_edit_state_min_h_set,
-                    "Min h", "bg", "default", 0.0);
-
-   result = history_redo(style->obj, -1);
-   ck_assert_msg(!result, "Restore diff with quantity of changes  '-1' .");
-
-   pm_project_close(app->project);
-   app->project = NULL;
-
-   ui_main_window_del(app);
-   app_shutdown();
-   teardown("./history_redo_test_n2");
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_redo
- * @{
- * <tr>
- * <td>history_redo</td>
- * <td>history_redo_test_n3</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- *
- * @procedure
- * @step 1 Call history_redo.
- * @step 2 Check returned value.
- *
- * </td>
- * <td>NULL, (int) 1 </td>
- * <td>EINA_FALSE returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_redo_test_n3)
-{
-   Eina_Bool result = EINA_FALSE;
-
-   elm_init(0, 0);
-
-   result = history_redo(NULL, 1);
-   ck_assert_msg(!result, "Change was restored with NULL source param.");
-
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_redo
- * @{
  * </TABLE>
  * @}
  * @}
diff --git a/tests/test_history/history_term.c 
b/tests/test_history/history_term.c
index 996ab1f..ef5c4e6 100644
--- a/tests/test_history/history_term.c
+++ b/tests/test_history/history_term.c
@@ -66,37 +66,6 @@ END_TEST
 /**
  * @addtogroup history_term
  * @{
- * <tr>
- * <td>history_term</td>
- * <td>history_term_test_n</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- *
- * @procedure
- * @step 1 Call history_term.
- * @step 2 Check returned value.
- * </td>
- * <td>NULL</td>
- * <td>EINA_FALSE value returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_term_test_n)
-{
-   Eina_Bool result = EINA_TRUE;
-   elm_init(0, 0);
-
-   result = history_term(NULL);
-   ck_assert_msg(!result, "Terminate history module with NULL pointer 
object.");
-
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_term
- * @{
  * </TABLE>
  * @}
  * @}
diff --git a/tests/test_history/history_undo.c 
b/tests/test_history/history_undo.c
index 5dff639..d487b4e 100644
--- a/tests/test_history/history_undo.c
+++ b/tests/test_history/history_undo.c
@@ -81,6 +81,7 @@ EFLETE_TEST(history_undo_test_p1)
    app->project = 
pm_project_open("./history_undo_test_p1/history_undo_test_p1.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -153,6 +154,7 @@ EFLETE_TEST(history_undo_test_p2)
    app->project = 
pm_project_open("./history_undo_test_p2/history_undo_test_p2.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -233,6 +235,7 @@ EFLETE_TEST(history_undo_test_p3)
    app->project = 
pm_project_open("./history_undo_test_p3/history_undo_test_p3.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -320,6 +323,7 @@ EFLETE_TEST(history_undo_test_p4)
    app->project = 
pm_project_open("./history_undo_test_p4/history_undo_test_p4.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -400,6 +404,7 @@ EFLETE_TEST(history_undo_test_p5)
    app->project = 
pm_project_open("./history_undo_test_p5/history_undo_test_p5.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -474,6 +479,7 @@ EFLETE_TEST(history_undo_test_p6)
    app->project = 
pm_project_open("./history_undo_test_p6/history_undo_test_p6.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -553,6 +559,7 @@ EFLETE_TEST(history_undo_test_p7)
    app->project = 
pm_project_open("./history_undo_test_p7/history_undo_test_p7.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -630,6 +637,7 @@ EFLETE_TEST(history_undo_test_p8)
    app->project = 
pm_project_open("./history_undo_test_p8/history_undo_test_p8.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -707,6 +715,7 @@ EFLETE_TEST(history_undo_test_p9)
    app->project = 
pm_project_open("./history_undo_test_p9/history_undo_test_p9.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    old_value = edje_edit_group_max_h_get(style->obj);
@@ -781,6 +790,7 @@ EFLETE_TEST(history_undo_test_p10)
    app->project = 
pm_project_open("./history_undo_test_p10/history_undo_test_p10.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -855,6 +865,7 @@ EFLETE_TEST(history_undo_test_p11)
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win),
                                 app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -928,6 +939,7 @@ EFLETE_TEST(history_undo_test_p12)
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win),
                                 app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1001,6 +1013,7 @@ EFLETE_TEST(history_undo_test_p13)
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win),
                                 app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1074,6 +1087,7 @@ EFLETE_TEST(history_undo_test_p14)
    app->project = 
pm_project_open("./history_undo_test_p14/history_undo_test_p14.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1145,6 +1159,7 @@ EFLETE_TEST(history_undo_test_p15)
    app->project = 
pm_project_open("./history_undo_test_p15/history_undo_test_p15.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1223,6 +1238,7 @@ EFLETE_TEST(history_undo_test_p16)
    app->project = 
pm_project_open("./history_undo_test_p16/history_undo_test_p16.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1304,6 +1320,7 @@ EFLETE_TEST(history_undo_test_p17)
    app->project = 
pm_project_open("./history_undo_test_p17/history_undo_test_p17.pro");
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win), 
app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1377,6 +1394,7 @@ EFLETE_TEST(history_undo_test_p18)
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win),
                                 app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1444,6 +1462,7 @@ EFLETE_TEST(history_undo_test_p19)
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win),
                                 app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1515,6 +1534,7 @@ EFLETE_TEST(history_undo_test_p20)
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win),
                                 app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1590,10 +1610,11 @@ EFLETE_TEST(history_undo_test_p21)
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win),
                                 app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
-   edje_edit_part_add(style->obj, "part_add", EDJE_PART_TYPE_RECTANGLE);
+   workspace_edit_object_part_add(app->workspace, "part_add", 
EDJE_PART_TYPE_RECTANGLE, NULL);
    history_diff_add(style->obj, PART_TARGET, ADD, "part_add");
 
    result = history_undo(style->obj, 1);
@@ -1658,6 +1679,7 @@ EFLETE_TEST(history_undo_test_p22)
    wm_widgets_list_objects_load(app->project->widgets,
                                 evas_object_evas_get(app->win),
                                 app->project->mmap_file);
+   blocks_show(app);
    style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
    ui_style_clicked(app, style);
    history_module_add(style->obj);
@@ -1682,153 +1704,6 @@ END_TEST
 /**
  * @addtogroup history_undo
  * @{
- * <tr>
- * <td>history_undo</td>
- * <td>history_undo_test_n1</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Create canvas, that needed for creating source object.
- * @step 4 Create edje edit object, that will be source of changes.
- *
- * @procedure
- * @step 1 Call history_undo for object from step 5 of precondition.
- * @step 2 Check returned value.
- *
- * </td>
- * <td>(Evas_Object *) source, (int) 1 </td>
- * <td>EINA_FALSE returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_undo_test_n1)
-{
-   Evas *canvas = NULL;
-   Ecore_Evas *ee = NULL;
-   Evas_Object *source = NULL;
-   Eina_Bool result = EINA_FALSE;
-   char *edj;
-
-   edj = "./edj_build/history.edj";
-   elm_init(0, 0);
-   ee = ecore_evas_new(NULL, 0, 0, 10, 10, NULL);
-   canvas = ecore_evas_get(ee);
-   source = edje_edit_object_add(canvas);
-   edje_object_file_set(source, edj, "elm/radio/base/def");
-
-   result = history_undo(source, 1);
-   ck_assert_msg(!result, "Change was cancel with uninitialized history 
module.");
-
-   ecore_evas_free(ee);
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_undo
- * @{
- * <tr>
- * <td>history_undo</td>
- * <td>history_undo_test_n2</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- * @step 2 Initialize Application Data structure.
- * @step 3 Initialize main window.
- * @step 4 Open project.
- * @step 5 Fill widget inlist with data.
- * @step 6 Find style that represent the group "elm/radio/base/def"
- * @step 7 Load style into project.
- * @step 8 Register in history style object, that finded at step 6, as module.
- * @step 7 Save current value of  min height param of "bg" part.
- * @step 8 Set new value [10] for min height param of "bg" part.
- * @step 9 Store diff with using history_diff_add function.
- *
- * @procedure
- * @step 1 Call history_undo for object from step 6 of precondition.
- * @step 2 Check returned value.
- *
- * </td>
- * <td>(Evas_Object *) style->obj, (int) -1 </td>
- * <td>EINA_FALSE returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_undo_test_n2)
-{
-   App_Data *app = NULL;
-   Style *style = NULL;
-   Eina_Bool result = EINA_FALSE;
-   int old_value = -1;
-   int new_value = 10;
-
-   elm_init(0, 0);
-   app_init();
-   setup("history_undo_test_n2");
-
-   app = app_data_get();
-   ui_main_window_add(app);
-   app->project = 
pm_project_open("./history_undo_test_n2/history_undo_test_n2.pro");
-   wm_widgets_list_objects_load(app->project->widgets,
-                                evas_object_evas_get(app->win), 
app->project->mmap_file);
-   style = wm_style_object_find(app->project->widgets, "elm/radio/base/def");
-   ui_style_clicked(app, style);
-   history_module_add(style->obj);
-   old_value = edje_edit_state_min_h_get(style->obj, "bg", "default", 0.0);
-   edje_edit_state_min_h_set(style->obj, "bg", "default", 0.0, new_value);
-   history_diff_add(style->obj, PROPERTY, MODIFY, VAL_INT, old_value, 
new_value,
-                    "elm/radio/base/def", (void *)edje_edit_state_min_h_set,
-                    "Min h", "bg", "default", 0.0);
-
-   result = history_undo(style->obj, -1);
-   ck_assert_msg(!result, "Undo diff with quantity of changes  '-1' .");
-
-   pm_project_close(app->project);
-   app->project = NULL;
-   ui_main_window_del(app);
-   app_shutdown();
-   teardown("history_undo_test_n2");
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_undo
- * @{
- * <tr>
- * <td>history_undo</td>
- * <td>history_undo_test_n3</td>
- * <td>
- * @precondition
- * @step 1 Initialize elementary library.
- *
- * @procedure
- * @step 1 Call history_undo.
- * @step 2 Check returned value.
- *
- * </td>
- * <td>NULL, (int) 1 </td>
- * <td>EINA_FALSE returned</td>
- * </tr>
- * @}
- */
-EFLETE_TEST(history_undo_test_n3)
-{
-   Eina_Bool result = EINA_FALSE;
-
-   elm_init(0, 0);
-
-   result = history_undo(NULL, 1);
-   ck_assert_msg(!result, "Change was canceled with NULL source param.");
-
-   elm_shutdown();
-}
-END_TEST
-
-/**
- * @addtogroup history_undo
- * @{
  * </TABLE>
  * @}
  * @}
diff --git a/tests/test_history/test_history.c 
b/tests/test_history/test_history.c
index 694a32b..e13ad10 100644
--- a/tests/test_history/test_history.c
+++ b/tests/test_history/test_history.c
@@ -22,23 +22,16 @@
 Suite* test_suite (void) {
    Suite *suite = suite_create("test_history");
    TCase *tcase = tcase_create("TCase");
+
    tcase_add_test(tcase, history_init_test_p);
    tcase_add_test(tcase, history_term_test_p);
-   tcase_add_test(tcase, history_term_test_n);
 
    tcase_add_test(tcase, history_clear_test_p);
-   tcase_add_test(tcase, history_clear_test_n);
 
    tcase_add_test(tcase, history_module_add_test_p1);
    tcase_add_test(tcase, history_module_add_test_p2);
-   tcase_add_test(tcase, history_module_add_test_n1);
-   tcase_add_test(tcase, history_module_add_test_n2);
 
    tcase_add_test(tcase, history_module_del_test_p1);
-   tcase_add_test(tcase, history_module_del_test_p2);
-   tcase_add_test(tcase, history_module_del_test_n1);
-   tcase_add_test(tcase, history_module_del_test_n2);
-   tcase_add_test(tcase, history_module_del_test_n3);
 
    tcase_add_test(tcase, history_diff_add_test_p1);
    tcase_add_test(tcase, history_diff_add_test_p2);
@@ -56,16 +49,6 @@ Suite* test_suite (void) {
    tcase_add_test(tcase, history_diff_add_test_p14);
    tcase_add_test(tcase, history_diff_add_test_p15);
    tcase_add_test(tcase, history_diff_add_test_p16);
-   tcase_add_test(tcase, history_diff_add_test_n1);
-   tcase_add_test(tcase, history_diff_add_test_n2);
-   tcase_add_test(tcase, history_diff_add_test_n3);
-   tcase_add_test(tcase, history_diff_add_test_n5);
-   tcase_add_test(tcase, history_diff_add_test_n6);
-   tcase_add_test(tcase, history_diff_add_test_n7);
-   tcase_add_test(tcase, history_diff_add_test_n8);
-   tcase_add_test(tcase, history_diff_add_test_n9);
-   tcase_add_test(tcase, history_diff_add_test_n10);
-   tcase_add_test(tcase, history_diff_add_test_n11);
 
    tcase_add_test(tcase, history_undo_test_p1);
    tcase_add_test(tcase, history_undo_test_p2);
@@ -89,9 +72,6 @@ Suite* test_suite (void) {
    tcase_add_test(tcase, history_undo_test_p20);
    tcase_add_test(tcase, history_undo_test_p21);
    tcase_add_test(tcase, history_undo_test_p22);
-   tcase_add_test(tcase, history_undo_test_n1);
-   tcase_add_test(tcase, history_undo_test_n2);
-   tcase_add_test(tcase, history_undo_test_n3);
 
    tcase_add_test(tcase, history_redo_test_p1);
    tcase_add_test(tcase, history_redo_test_p2);
@@ -112,24 +92,15 @@ Suite* test_suite (void) {
    tcase_add_test(tcase, history_redo_test_p17);
    tcase_add_test(tcase, history_redo_test_p18);
    tcase_add_test(tcase, history_redo_test_p19);
-   tcase_add_test(tcase, history_redo_test_n1);
-   tcase_add_test(tcase, history_redo_test_n2);
-   tcase_add_test(tcase, history_redo_test_n3);
 
    tcase_add_test(tcase, history_genlist_get_test_p1);
    tcase_add_test(tcase, history_genlist_get_test_p2);
-   tcase_add_test(tcase, history_genlist_get_test_n1);
-   tcase_add_test(tcase, history_genlist_get_test_n2);
 
    tcase_add_test(tcase, history_module_depth_set_test_p1);
    tcase_add_test(tcase, history_module_depth_set_test_p2);
-   tcase_add_test(tcase, history_module_depth_set_test_n1);
-   tcase_add_test(tcase, history_module_depth_set_test_n2);
 
    tcase_add_test(tcase, history_module_depth_get_test_p1);
    tcase_add_test(tcase, history_module_depth_get_test_p2);
-   tcase_add_test(tcase, history_module_depth_get_test_n1);
-   tcase_add_test(tcase, history_module_depth_get_test_n2);
 
    suite_add_tcase(suite, tcase);
    return suite;
diff --git a/tests/test_history/test_history.h 
b/tests/test_history/test_history.h
index 9b38031..dd698de 100644
--- a/tests/test_history/test_history.h
+++ b/tests/test_history/test_history.h
@@ -20,6 +20,7 @@
 #include "utc_common.h"
 #include "eflete.h"
 #include "history.h"
+#include "main_window.h"
 /**
  * @defgroup history_test
  */
@@ -29,21 +30,13 @@
 void history_init_test_p(int);
 
 void history_term_test_p(int);
-void history_term_test_n(int);
 
 void history_clear_test_p(int);
-void history_clear_test_n(int);
 
 void history_module_add_test_p1(int);
 void history_module_add_test_p2(int);
-void history_module_add_test_n1(int);
-void history_module_add_test_n2(int);
 
 void history_module_del_test_p1(int);
-void history_module_del_test_p2(int);
-void history_module_del_test_n1(int);
-void history_module_del_test_n2(int);
-void history_module_del_test_n3(int);
 
 void history_diff_add_test_p1(int);
 void history_diff_add_test_p2(int);
@@ -61,16 +54,6 @@ void history_diff_add_test_p13(int);
 void history_diff_add_test_p14(int);
 void history_diff_add_test_p15(int);
 void history_diff_add_test_p16(int);
-void history_diff_add_test_n1(int);
-void history_diff_add_test_n2(int);
-void history_diff_add_test_n3(int);
-void history_diff_add_test_n5(int);
-void history_diff_add_test_n6(int);
-void history_diff_add_test_n7(int);
-void history_diff_add_test_n8(int);
-void history_diff_add_test_n9(int);
-void history_diff_add_test_n10(int);
-void history_diff_add_test_n11(int);
 
 void history_undo_test_p1(int);
 void history_undo_test_p2(int);
@@ -94,9 +77,6 @@ void history_undo_test_p19(int);
 void history_undo_test_p20(int);
 void history_undo_test_p21(int);
 void history_undo_test_p22(int);
-void history_undo_test_n1(int);
-void history_undo_test_n2(int);
-void history_undo_test_n3(int);
 
 void history_redo_test_p1(int);
 void history_redo_test_p2(int);
@@ -117,21 +97,12 @@ void history_redo_test_p16(int);
 void history_redo_test_p17(int);
 void history_redo_test_p18(int);
 void history_redo_test_p19(int);
-void history_redo_test_n1(int);
-void history_redo_test_n2(int);
-void history_redo_test_n3(int);
 
 void history_genlist_get_test_p1(int);
 void history_genlist_get_test_p2(int);
-void history_genlist_get_test_n1(int);
-void history_genlist_get_test_n2(int);
 
 void history_module_depth_set_test_p1(int);
 void history_module_depth_set_test_p2(int);
-void history_module_depth_set_test_n1(int);
-void history_module_depth_set_test_n2(int);
 
 void history_module_depth_get_test_p1(int);
 void history_module_depth_get_test_p2(int);
-void history_module_depth_get_test_n1(int);
-void history_module_depth_get_test_n2(int);

-- 


Reply via email to