elm: modify resource path
authorYeongJong Lee <yj34.lee@samsung.com>
Thu, 28 Jun 2018 04:00:42 +0000 (13:00 +0900)
committerYeongjong Lee <yj34.lee@samsung.com>
Fri, 13 Jul 2018 10:51:56 +0000 (19:51 +0900)
Change-Id: I5242dffd5959bbb9188cbb5f3139464488dd80b1

133 files changed:
TC/elementary/bg/utc_elm_bg_file_get.c
TC/elementary/bg/utc_elm_bg_file_set.c
TC/elementary/bg/utc_elm_bg_load_size_set.c
TC/elementary/bg/utc_elm_bg_option_get.c
TC/elementary/bg/utc_elm_bg_option_set.c
TC/elementary/elm_object/utc_elm_access_object.c
TC/elementary/elm_object/utc_elm_object_part_access_object_get.c
TC/elementary/elm_object/utc_elm_object_part_access_register.c
TC/elementary/entry/utc_elm_entry_context_menu_item.c
TC/elementary/entry/utc_elm_entry_file_get.c
TC/elementary/entry/utc_elm_entry_file_set.c
TC/elementary/entry/utc_elm_entry_file_text_format_set.c
TC/elementary/gengrid/utc_elm_gengrid_at_xy_item_get.c
TC/elementary/gengrid/utc_elm_gengrid_item_all_contents_unset.c
TC/elementary/gengrid/utc_elm_gengrid_item_update.c
TC/elementary/gengrid/utc_elm_gengrid_realized_items_update.c
TC/elementary/icon/utc_elm_icon_animated_available_get.c
TC/elementary/icon/utc_elm_icon_animated_get.c
TC/elementary/icon/utc_elm_icon_animated_play_get.c
TC/elementary/icon/utc_elm_icon_animated_play_set.c
TC/elementary/icon/utc_elm_icon_animated_set.c
TC/elementary/icon/utc_elm_icon_file_get.c
TC/elementary/icon/utc_elm_icon_file_set.c
TC/elementary/icon/utc_elm_icon_standard_get.c
TC/elementary/icon/utc_elm_icon_standard_set.c
TC/elementary/icon/utc_elm_icon_thumb_set.c
TC/elementary/image/utc_elm_image_animated_available_get.c
TC/elementary/image/utc_elm_image_animated_get.c
TC/elementary/image/utc_elm_image_animated_play_get.c
TC/elementary/image/utc_elm_image_animated_play_set.c
TC/elementary/image/utc_elm_image_animated_set.c
TC/elementary/image/utc_elm_image_file_get.c
TC/elementary/image/utc_elm_image_file_set.c
TC/elementary/image/utc_elm_image_memfile_set.c
TC/elementary/image/utc_elm_image_mmap_set.c
TC/elementary/image/utc_elm_image_object_get.c
TC/elementary/image/utc_elm_image_object_size_get.c
TC/elementary/image/utc_elm_image_orient_get.c
TC/elementary/image/utc_elm_image_orient_set.c
TC/elementary/image/utc_elm_image_resizable_get.c
TC/elementary/image/utc_elm_image_resizable_set.c
TC/elementary/layout/utc_elm_layout_box_append.c
TC/elementary/layout/utc_elm_layout_box_insert_at.c
TC/elementary/layout/utc_elm_layout_box_insert_before.c
TC/elementary/layout/utc_elm_layout_box_prepend.c
TC/elementary/layout/utc_elm_layout_box_remove.c
TC/elementary/layout/utc_elm_layout_box_remove_all.c
TC/elementary/layout/utc_elm_layout_content_get.c
TC/elementary/layout/utc_elm_layout_content_set.c
TC/elementary/layout/utc_elm_layout_content_swallow_list_get.c
TC/elementary/layout/utc_elm_layout_content_unset.c
TC/elementary/layout/utc_elm_layout_data_get.c
TC/elementary/layout/utc_elm_layout_edje_object_can_access_get.c
TC/elementary/layout/utc_elm_layout_edje_object_can_access_set.c
TC/elementary/layout/utc_elm_layout_file_get.c
TC/elementary/layout/utc_elm_layout_file_set.c
TC/elementary/layout/utc_elm_layout_freeze.c
TC/elementary/layout/utc_elm_layout_part_cursor_engine_only_get.c
TC/elementary/layout/utc_elm_layout_part_cursor_engine_only_set.c
TC/elementary/layout/utc_elm_layout_part_cursor_get.c
TC/elementary/layout/utc_elm_layout_part_cursor_set.c
TC/elementary/layout/utc_elm_layout_part_cursor_style_get.c
TC/elementary/layout/utc_elm_layout_part_cursor_style_set.c
TC/elementary/layout/utc_elm_layout_part_cursor_unset.c
TC/elementary/layout/utc_elm_layout_signal_callback_add.c
TC/elementary/layout/utc_elm_layout_signal_callback_del.c
TC/elementary/layout/utc_elm_layout_signal_emit.c
TC/elementary/layout/utc_elm_layout_sizing_eval.c
TC/elementary/layout/utc_elm_layout_sizing_restricted_eval.c
TC/elementary/layout/utc_elm_layout_table_clear.c
TC/elementary/layout/utc_elm_layout_table_pack.c
TC/elementary/layout/utc_elm_layout_table_unpack.c
TC/elementary/layout/utc_elm_layout_text_get.c
TC/elementary/layout/utc_elm_layout_text_set.c
TC/elementary/layout/utc_elm_layout_thaw.c
TC/elementary/map/utc_elm_map_track_add.c
TC/elementary/map/utc_elm_map_track_remove.c
TC/elementary/photo/utc_elm_photo_file_set.c
TC/elementary/photo/utc_elm_photo_thumb_set.c
TC/elementary/photocam/utc_elm_photocam_file_get.c
TC/elementary/photocam/utc_elm_photocam_file_set.c
TC/elementary/photocam/utc_elm_photocam_image_orient.c
TC/elementary/photocam/utc_elm_photocam_image_region_bring_in.c
TC/elementary/photocam/utc_elm_photocam_image_region_get.c
TC/elementary/photocam/utc_elm_photocam_image_region_show.c
TC/elementary/photocam/utc_elm_photocam_image_size_get.c
TC/elementary/popup/utc_elm_popup_item_append.c
TC/elementary/slideshow/utc_elm_slideshow_item_add.c
TC/elementary/slideshow/utc_elm_slideshow_item_show.c
TC/elementary/slideshow/utc_elm_slideshow_item_sorted_insert.c
TC/elementary/slideshow/utc_elm_slideshow_items_get.c
TC/elementary/slideshow/utc_elm_slideshow_next.c
TC/elementary/slideshow/utc_elm_slideshow_previous.c
TC/elementary/theme/utc_elm_theme_copy.c
TC/elementary/theme/utc_elm_theme_data_get.c
TC/elementary/theme/utc_elm_theme_extension_add.c
TC/elementary/theme/utc_elm_theme_extension_del.c
TC/elementary/theme/utc_elm_theme_extension_list_get.c
TC/elementary/theme/utc_elm_theme_extension_mmap.c
TC/elementary/theme/utc_elm_theme_full_flush.c
TC/elementary/theme/utc_elm_theme_get.c
TC/elementary/theme/utc_elm_theme_group_base_list.c
TC/elementary/theme/utc_elm_theme_group_path_find.c
TC/elementary/theme/utc_elm_theme_list_get.c
TC/elementary/theme/utc_elm_theme_list_item_path_get.c
TC/elementary/theme/utc_elm_theme_name_available_list_free.c
TC/elementary/theme/utc_elm_theme_name_available_list_new.c
TC/elementary/theme/utc_elm_theme_overlay_add.c
TC/elementary/theme/utc_elm_theme_overlay_del.c
TC/elementary/theme/utc_elm_theme_overlay_list_get.c
TC/elementary/theme/utc_elm_theme_overlay_mmap.c
TC/elementary/theme/utc_elm_theme_set.c
TC/elementary/thumb/utc_elm_thumb_file_get.c
TC/elementary/thumb/utc_elm_thumb_file_set.c
TC/elementary/toolbar/utc_elm_toolbar_item_icon_file_set.c
TC/elementary/toolbar/utc_elm_toolbar_item_icon_memfile_set.c
TC/elementary/toolbar/utc_elm_toolbar_item_insert_after.c
TC/elementary/transit/utc_elm_transit_effect_image_animation_add.c
TC/elementary/video/utc_elm_video_audio_level_get.c
TC/elementary/video/utc_elm_video_audio_level_set.c
TC/elementary/video/utc_elm_video_audio_mute_get.c
TC/elementary/video/utc_elm_video_audio_mute_set.c
TC/elementary/video/utc_elm_video_file_set.c
TC/elementary/video/utc_elm_video_pause.c
TC/elementary/video/utc_elm_video_play.c
TC/elementary/video/utc_elm_video_play_position_get.c
TC/elementary/video/utc_elm_video_play_position_set.c
TC/elementary/video/utc_elm_video_remember_position_get.c
TC/elementary/video/utc_elm_video_remember_position_set.c
TC/elementary/video/utc_elm_video_stop.c
TC/elementary/win/utc_elm_win_inwin_content_get.c
TC/elementary/win/utc_elm_win_inwin_content_set.c
TC/elementary/win/utc_elm_win_inwin_content_unset.c

index d6e73fe1b99e8f3db4fcd321858615a8495d6602..8804e4a56c90bc7ddd830c7cb026bc07f0cda7d8 100644 (file)
@@ -2,8 +2,8 @@
 #include <Elementary.h>
 #include "../utc_elm_common.h"
 
-#define IMAGE_FILE "./tizen_efl.png"
-#define EDJE_FILE "./layout_example.edj"
+#define IMAGE_FILE "./bg/tizen_efl.png"
+#define EDJE_FILE "./bg/layout_example.edj"
 #define GROUP "example/mylayout"
 static Evas_Object *main_win = NULL, *bg = NULL;
 static Eina_Bool is_image_file_exists = EINA_TRUE, is_edje_file_exists = EINA_TRUE;
@@ -17,7 +17,7 @@ static Eina_Bool is_image_file_exists = EINA_TRUE, is_edje_file_exists = EINA_TR
  * @step 1 Initialize Elementary
  * @step 2 Create a main window
  * @step 3 Add a background to the main window
- * @step 4 Check if "./tizen_efl.png" file exists
+ * @step 4 Check if "./bg/tizen_efl.png" file exists
  */
 static void
 setup(void)
index 975b24a017c2834ba528f1478efd6472f7adda5d..82a06e5c55f0ce0baa62e74dd3b7e5f42d4aa978 100644 (file)
@@ -3,8 +3,8 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define IMAGE_FILE "./tizen_efl.png"
-#define EDJE_FILE "./layout_example.edj"
+#define IMAGE_FILE "./bg/tizen_efl.png"
+#define EDJE_FILE "./bg/layout_example.edj"
 #define GROUP "example/mylayout"
 static Evas_Object *main_win = NULL, *bg = NULL;
 static Eina_Bool is_image_file_exists = EINA_TRUE, is_edje_file_exists = EINA_TRUE;
@@ -18,7 +18,7 @@ static Eina_Bool is_image_file_exists = EINA_TRUE, is_edje_file_exists = EINA_TR
  * @step 1 Initialize Elementary
  * @step 2 Create a main window
  * @step 3 Add a background to the main window
- * @step 4 Check if "./tizen_efl.png" file exists
+ * @step 4 Check if "./bg/tizen_efl.png" file exists
  */
 
 static void
@@ -71,7 +71,7 @@ teardown(void)
  * (image or edje collection) to give life for the background works properly and without segmentation fault
  * @n Input Data:
  * @li the background object
- * @li "./tizen_efl.png", "./layout_example.edj" as the file path
+ * @li "./bg/tizen_efl.png", "./bg/layout_example.edj" as the file path
  * @li NULL, "example/mylayout" as the optional key (group in Edje) within the file (optional parameter)
  *
  * @procedure
index 1c7965cbd34cc4ac7a0f11402da1c891af6d0f4a..b882d2a2a83c441ecdb1c570b6a20544e5f35769 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define IMAGE_FILE "./tizen_efl.png"
+#define IMAGE_FILE "./bg/tizen_efl.png"
 static Evas_Object *main_win = NULL, *bg = NULL;
 static Eina_Bool is_image_file_exists = EINA_TRUE, is_file_set = EINA_TRUE;
 
@@ -16,7 +16,7 @@ static Eina_Bool is_image_file_exists = EINA_TRUE, is_file_set = EINA_TRUE;
  * @step 1 Initialize Elementary
  * @step 2 Create a main window
  * @step 3 Add a background to the main window
- * @step 4 Check if "./tizen_efl.png" file exists
+ * @step 4 Check if "./bg/tizen_efl.png" file exists
  * @step 5 Set the image file to the background
  */
 
index 78f3be2e8db7b958cdf7b6ad0dedb42144c310fe..c7581627f21997851e6b36706d602a996792abfe 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define IMAGE_FILE "./tizen_efl.png"
+#define IMAGE_FILE "./bg/tizen_efl.png"
 static Evas_Object *main_win = NULL, *bg = NULL;
 static Eina_Bool is_image_file_exists = EINA_TRUE, is_file_set = EINA_TRUE;
 
@@ -16,7 +16,7 @@ static Eina_Bool is_image_file_exists = EINA_TRUE, is_file_set = EINA_TRUE;
  * @step 1 Initialize Elementary
  * @step 2 Create a main window
  * @step 3 Add a background to the main window
- * @step 4 Check if "./tizen_efl.png" file exists
+ * @step 4 Check if "./bg/tizen_efl.png" file exists
  * @step 5 Set the image file to the background
  */
 
index 5c123224eddabd35581ab6a4178950744c09df4c..a0ad49c3f6b1894677f6e95f2d2baea0c9e05ddc 100644 (file)
@@ -2,7 +2,7 @@
 #include <Elementary.h>
 #include "../utc_elm_common.h"
 
-#define IMAGE_FILE "./tizen_efl.png"
+#define IMAGE_FILE "./bg/tizen_efl.png"
 static Evas_Object *main_win = NULL, *bg = NULL;
 static Eina_Bool is_image_file_exists = EINA_TRUE, is_file_set = EINA_TRUE;
 
@@ -15,7 +15,7 @@ static Eina_Bool is_image_file_exists = EINA_TRUE, is_file_set = EINA_TRUE;
  * @step 1 Initialize Elementary
  * @step 2 Create a main window
  * @step 3 Add a background to the main window
- * @step 4 Check if "./tizen_efl.png" file exists
+ * @step 4 Check if "./bg/tizen_efl.png" file exists
  * @step 5 Set the image file to the background
  */
 
index f9fb07cced115a396d0af3eefc4748b432551020..55bbe5cacdd43543c300524377d878a48c2a0424 100644 (file)
@@ -5,7 +5,7 @@
 
 static Evas_Object *main_win = NULL, *lay = NULL;
 static Eina_Bool file_set = EINA_TRUE;
-#define FILE "../layout/test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 #define PART_NAME "test_suite/title"
 
index 3618952a654b1dfbe8387a0c5d45def1877fcf97..cb7704754ef97b770436ecc84ad60cf6bb05f044 100644 (file)
@@ -5,7 +5,7 @@
 
 static Evas_Object *main_win = NULL, *lay = NULL;
 static Eina_Bool file_set = EINA_TRUE;
-#define FILE "../layout/test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 #define PART_NAME "test_suite/title"
 
index 0b34b42ba1251ae5ae6e6ee8d11a82579cc004e7..c2d5597e943fe7deec2d9fd4a85675101e6bc77c 100644 (file)
@@ -5,7 +5,7 @@
 
 static Evas_Object *main_win = NULL, *lay = NULL;
 static Eina_Bool file_set = EINA_TRUE;
-#define FILE "../layout/test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 #define PART_NAME "test_suite/title"
 
index effd941a99e4763c05c1ca37c397448d141d261d..878fefe47aae3d6f0fcff4492089b831da3c9bb1 100644 (file)
@@ -138,7 +138,7 @@ START_TEST(utc_elm_entry_context_menu_item_p)
    Elm_Object_Item *hover_item        = NULL;
    Elm_Icon_Type elm_icon_type        = ELM_ICON_NONE;
    const char *context_menu_item_name = "Test item menu";
-   const char *item_icon_path         = "icon_home.png";
+   const char *item_icon_path         = "entry/icon_home.png";
    const char *icon_path_get          = NULL;
    const char *icon_group_get;
 
index 7d8bea056bc8bce9f67ec540a71bb688d8ebf438..4f736bab42220e8e9f4fd2b9e6f664020e11b9cb 100644 (file)
@@ -49,10 +49,10 @@ teardown(void)
  *
  * @procedure
  * @step 1 Add an entry object to the main window
- * @step 2 Set the file for the entry object as "note.txt"
+ * @step 2 Set the file for the entry object as "entry/note.txt"
  * @step 3 Get the file path and format for the entry object
  * @step 4 Get the entry content
- * @step 5 Set another file for this entry object as "note2.txt"
+ * @step 5 Set another file for this entry object as "entry/note2.txt"
  * @step 6 Get the file path and format for the entry object
  * @step 7 Get the entry content
  * @step 8 Set a NULL file for this entry object
@@ -75,14 +75,14 @@ START_TEST(utc_elm_entry_file_get_p)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an entry object..", __FILE__, __LINE__);
      }
-   is_file_set = elm_entry_file_set(entry, "note.txt", ELM_TEXT_FORMAT_PLAIN_UTF8);
+   is_file_set = elm_entry_file_set(entry, "entry/note.txt", ELM_TEXT_FORMAT_PLAIN_UTF8);
    if (is_file_set != EINA_TRUE)
      {
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
      }
    elm_entry_file_get(entry, &file_path, &format);
-   if (file_path == NULL || strcmp(file_path, "note.txt") || format != ELM_TEXT_FORMAT_PLAIN_UTF8)
+   if (file_path == NULL || strcmp(file_path, "entry/note.txt") || format != ELM_TEXT_FORMAT_PLAIN_UTF8)
      {
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
@@ -93,14 +93,14 @@ START_TEST(utc_elm_entry_file_get_p)
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
      }
-   is_file_set = elm_entry_file_set(entry, "note2.txt", ELM_TEXT_FORMAT_PLAIN_UTF8);
+   is_file_set = elm_entry_file_set(entry, "entry/note2.txt", ELM_TEXT_FORMAT_PLAIN_UTF8);
    if (is_file_set != EINA_TRUE)
      {
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
      }
    elm_entry_file_get(entry, &file_path, &format);
-   if (file_path == NULL || strcmp(file_path, "note2.txt") || format != ELM_TEXT_FORMAT_PLAIN_UTF8)
+   if (file_path == NULL || strcmp(file_path, "entry/note2.txt") || format != ELM_TEXT_FORMAT_PLAIN_UTF8)
      {
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
@@ -146,7 +146,7 @@ END_TEST
  *
  * @procedure
  * @step 1 Add an entry object to the main window
- * @step 2 Set the file for this entry object as "note.txt"
+ * @step 2 Set the file for this entry object as "entry/note.txt"
  * @step 3 Call function 3 times in turn with NULL instead of the arguments
  *
  * @passcondition Test passes if returned values are the same as set values and there is no segmentation fault
@@ -164,7 +164,7 @@ START_TEST(utc_elm_entry_file_get_n)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an entry object..", __FILE__, __LINE__);
      }
-   is_file_set = elm_entry_file_set(entry, "note.txt", ELM_TEXT_FORMAT_PLAIN_UTF8);
+   is_file_set = elm_entry_file_set(entry, "entry/note.txt", ELM_TEXT_FORMAT_PLAIN_UTF8);
    if (is_file_set != EINA_TRUE)
      {
         evas_object_del(entry);
@@ -173,7 +173,7 @@ START_TEST(utc_elm_entry_file_get_n)
 
    UNITEST_FUNC_NEG(elm_entry_file_get, entry, &file_path, &format);
 
-   if (file_path == NULL || strcmp(file_path, "note.txt") || format != ELM_TEXT_FORMAT_PLAIN_UTF8)
+   if (file_path == NULL || strcmp(file_path, "entry/note.txt") || format != ELM_TEXT_FORMAT_PLAIN_UTF8)
      {
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
index 8e61617350d540253f79a189b2465b36fde2eb1d..4041ea2e31d75b68473b9ee07ceb5c268b800197 100644 (file)
@@ -44,15 +44,15 @@ teardown(void)
  * to load a file and get a text from it works properly and without segmentation fault
  * @n Input Data:
  * @li the entry object
- * @li "note.txt"/"note2.txt"/NULL as the path to the file for first/second/third function call
+ * @li "entry/note.txt"/"entry/note2.txt"/NULL as the path to the file for first/second/third function call
  * @li ELM_TEXT_FORMAT_PLAIN_UTF8 as the file format
  *
  * @procedure
  * @step 1 Add an entry object to the main window
- * @step 2 Set the file for the entry object as "note.txt"
+ * @step 2 Set the file for the entry object as "entry/note.txt"
  * @step 3 Get the file path and format for the entry object
  * @step 4 Get the entry content
- * @step 5 Set another file for the entry object as "note2.txt"
+ * @step 5 Set another file for the entry object as "entry/note2.txt"
  * @step 6 Get the file path and format for the entry object
  * @step 7 Get the entry content
  * @step 8 Set a NULL file for the entry object
@@ -75,14 +75,14 @@ START_TEST(utc_elm_entry_file_set_p)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an entry object..", __FILE__, __LINE__);
      }
-   is_file_set = elm_entry_file_set(entry, "note.txt", ELM_TEXT_FORMAT_PLAIN_UTF8);
+   is_file_set = elm_entry_file_set(entry, "entry/note.txt", ELM_TEXT_FORMAT_PLAIN_UTF8);
    if (is_file_set != EINA_TRUE)
      {
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
      }
    elm_entry_file_get(entry, &file_path, &format);
-   if (file_path == NULL || strcmp(file_path, "note.txt") || format != ELM_TEXT_FORMAT_PLAIN_UTF8)
+   if (file_path == NULL || strcmp(file_path, "entry/note.txt") || format != ELM_TEXT_FORMAT_PLAIN_UTF8)
      {
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
@@ -93,14 +93,14 @@ START_TEST(utc_elm_entry_file_set_p)
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
      }
-   is_file_set = elm_entry_file_set(entry, "note2.txt", ELM_TEXT_FORMAT_PLAIN_UTF8);
+   is_file_set = elm_entry_file_set(entry, "entry/note2.txt", ELM_TEXT_FORMAT_PLAIN_UTF8);
    if (is_file_set != EINA_TRUE)
      {
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
      }
    elm_entry_file_get(entry, &file_path, &format);
-   if (file_path == NULL || strcmp(file_path, "note2.txt") || format != ELM_TEXT_FORMAT_PLAIN_UTF8)
+   if (file_path == NULL || strcmp(file_path, "entry/note2.txt") || format != ELM_TEXT_FORMAT_PLAIN_UTF8)
      {
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
@@ -141,7 +141,7 @@ END_TEST
  * returns EINA_FALSE without segmentation fault
  * @n Input Data:
  * @li the NULL as entry object
- * @li "note.txt"/"non_exist_file.txt" as the path to the file
+ * @li "entry/note.txt"/"non_exist_file.txt" as the path to the file
  * @li ELM_TEXT_FORMAT_PLAIN_UTF8 as the file format
  *
  * @procedure
@@ -162,7 +162,7 @@ START_TEST(utc_elm_entry_file_set_n)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an entry object..", __FILE__, __LINE__);
      }
-   is_file_set = elm_entry_file_set(NULL, "note.txt", ELM_TEXT_FORMAT_PLAIN_UTF8);
+   is_file_set = elm_entry_file_set(NULL, "entry/note.txt", ELM_TEXT_FORMAT_PLAIN_UTF8);
    if (is_file_set == EINA_TRUE)
      {
         evas_object_del(entry);
@@ -185,7 +185,7 @@ END_TEST
  * returns EINA_FALSE without segmentation fault
  * @n Input Data:
  * @li the entry object
- * @li "note.txt" as the path to the file
+ * @li "entry/note.txt" as the path to the file
  * @li -1 instead of the file format
  *
  * @procedure
@@ -206,7 +206,7 @@ START_TEST(utc_elm_entry_file_set_n2)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an entry object..", __FILE__, __LINE__);
      }
 
-   is_file_set = elm_entry_file_set(entry, "note.txt", -1);
+   is_file_set = elm_entry_file_set(entry, "entry/note.txt", -1);
 
    evas_object_del(entry);
    if (is_file_set == EINA_TRUE)
index 967fdfbcc63f92802c93ea633d3122c0fde22ba2..67f23ae88bcb8fdc6ce03639f5f7a33825492fda 100644 (file)
@@ -47,10 +47,10 @@ teardown(void)
  *
  * @procedure
  * @step 1 Add an entry object to the main window
- * @step 2 Set the file for the entry object as "note.txt"
+ * @step 2 Set the file for the entry object as "entry/note.txt"
  * @step 3 Get the file path and format for the entry object
  * @step 4 Set another text format to the entry object - ELM_TEXT_FORMAT_MARKUP_UTF8
- * @step 5 Set another file for the entry object as "note2.txt"
+ * @step 5 Set another file for the entry object as "entry/note2.txt"
  * @step 6 Get the file path and format for the entry object
  *
  * @passcondition Test passes if returned values are the same as set values and there is no segmentation fault
@@ -69,28 +69,28 @@ START_TEST(utc_elm_entry_file_text_format_set_p)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an entry object..", __FILE__, __LINE__);
      }
-   is_file_set = elm_entry_file_set(entry, "note.txt", ELM_TEXT_FORMAT_MARKUP_UTF8);
+   is_file_set = elm_entry_file_set(entry, "entry/note.txt", ELM_TEXT_FORMAT_MARKUP_UTF8);
    if (is_file_set != EINA_TRUE)
      {
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
      }
    elm_entry_file_get(entry, &file_path, &format);
-   if (file_path == NULL || strcmp(file_path, "note.txt") || format != ELM_TEXT_FORMAT_MARKUP_UTF8)
+   if (file_path == NULL || strcmp(file_path, "entry/note.txt") || format != ELM_TEXT_FORMAT_MARKUP_UTF8)
      {
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
      }
 
    elm_entry_file_text_format_set(entry, ELM_TEXT_FORMAT_MARKUP_UTF8);
-   is_file_set = elm_entry_file_set(entry, "note2.txt", ELM_TEXT_FORMAT_PLAIN_UTF8);
+   is_file_set = elm_entry_file_set(entry, "entry/note2.txt", ELM_TEXT_FORMAT_PLAIN_UTF8);
    if (is_file_set != EINA_TRUE)
      {
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
      }
    elm_entry_file_get(entry, &file_path, &format);
-   if (file_path == NULL || strcmp(file_path, "note2.txt") || format != ELM_TEXT_FORMAT_PLAIN_UTF8)
+   if (file_path == NULL || strcmp(file_path, "entry/note2.txt") || format != ELM_TEXT_FORMAT_PLAIN_UTF8)
      {
         evas_object_del(entry);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
index 3c6dda7d2fe75b5dcdeb1f893f7e9e675850dbbc..6b9788a1b2221706956c834161c16f609d7b00c7 100644 (file)
@@ -24,7 +24,7 @@ setup(void)
 {
    printf(" ============ Startup ============ \n");
    UTC_ELM_INIT();
-   elm_theme_overlay_add(NULL, "./gengrid_style.edj");
+   elm_theme_overlay_add(NULL, "./gengrid/gengrid_style.edj");
    main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
    if (main_win == NULL)
      {
@@ -66,7 +66,7 @@ teardown(void)
         evas_object_del(main_win);
         main_win = NULL;
      }
-   elm_theme_overlay_del(NULL, "./gengrid_style.edj");
+   elm_theme_overlay_del(NULL, "./gengrid/gengrid_style.edj");
    elm_shutdown();
    printf(" ============ Cleanup ============ \n");
    elm_gengrid_item_class_free(gic);
index 6f961d4b1e599d6962620d040bccea95fb366f42..3730ef07cbc3b4c9221df6d5ac95ca7fb9e2ac2a 100644 (file)
@@ -33,7 +33,7 @@ setup(void)
 {
    printf(" ============ Startup ============ \n");
    UTC_ELM_INIT();
-   elm_theme_overlay_add(NULL, "./gengrid_style.edj");
+   elm_theme_overlay_add(NULL, "./gengrid/gengrid_style.edj");
    main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
    if (main_win == NULL)
      {
@@ -82,7 +82,7 @@ teardown(void)
         evas_object_del(main_win);
         main_win = NULL;
      }
-   elm_theme_overlay_del(NULL, "./gengrid_style.edj");
+   elm_theme_overlay_del(NULL, "./gengrid/gengrid_style.edj");
    elm_shutdown();
    printf(" ============ Cleanup ============ \n");
 }
index d3b8186c6be0ddea5f02aec6a8f7d3a8d9844f08..6d84a27efdefea1bcab32a35b722467208782135 100644 (file)
@@ -33,7 +33,7 @@ setup(void)
 {
    printf(" ============ Startup ============ \n");
    UTC_ELM_INIT();
-   elm_theme_overlay_add(NULL, "./gengrid_style.edj");
+   elm_theme_overlay_add(NULL, "./gengrid/gengrid_style.edj");
    main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
    if (main_win == NULL)
      {
@@ -82,7 +82,7 @@ teardown(void)
         evas_object_del(main_win);
         main_win = NULL;
      }
-   elm_theme_overlay_del(NULL, "./gengrid_style.edj");
+   elm_theme_overlay_del(NULL, "./gengrid/gengrid_style.edj");
    elm_shutdown();
    printf(" ============ Cleanup ============ \n");
 }
index 4aba5ec28707f4e85dd77cfd5eabf0a79ecf25a0..77b6617a3961a3435cb7fd0bc7c9f622d37f5f2b 100644 (file)
@@ -29,7 +29,7 @@ setup(void)
 {
    printf(" ============ Startup ============ \n");
    UTC_ELM_INIT();
-   elm_theme_overlay_add(NULL, "./gengrid_style.edj");
+   elm_theme_overlay_add(NULL, "./gengrid/gengrid_style.edj");
    main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
    if (main_win == NULL)
      {
@@ -80,7 +80,7 @@ teardown(void)
         evas_object_del(main_win);
         main_win = NULL;
      }
-   elm_theme_overlay_del(NULL, "./gengrid_style.edj");
+   elm_theme_overlay_del(NULL, "./gengrid/gengrid_style.edj");
    elm_shutdown();
    printf(" ============ Cleanup ============ \n");
 }
index 87198952af09d01fe733f524f805c86a34ab1722..7c48716ab1a05bb9658a571ee7c1d7bcf980a01b 100644 (file)
@@ -66,7 +66,7 @@ START_TEST(utc_elm_icon_animated_available_get_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an icon..", __FILE__, __LINE__);
         return;
      }
-   ret_file = elm_icon_file_set(icon, "animated_logo.gif", NULL);
+   ret_file = elm_icon_file_set(icon, "icon/animated_logo.gif", NULL);
    if (ret_file == EINA_FALSE)
      {
         evas_object_del(icon);
@@ -80,7 +80,7 @@ START_TEST(utc_elm_icon_animated_available_get_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
         return;
      }
-   ret_file = elm_icon_file_set(icon, "icon_home.png", NULL);
+   ret_file = elm_icon_file_set(icon, "icon/icon_home.png", NULL);
    if (ret_file == EINA_FALSE)
      {
         evas_object_del(icon);
index bc2030d689e1a03063207d31d7f8f97d83e31d12..f308974ad844ddada048c68aa303b7310ce67928 100644 (file)
@@ -65,7 +65,7 @@ START_TEST(utc_elm_icon_animated_get_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an icon..", __FILE__, __LINE__);
         return;
      }
-   ret_file = elm_icon_file_set(icon, "animated_logo.gif", NULL);
+   ret_file = elm_icon_file_set(icon, "icon/animated_logo.gif", NULL);
    if (ret_file == EINA_FALSE)
      {
         evas_object_del(icon);
index 8e536ccc711dd675b9318622800ea9c65e96412c..00fa7b70dd647259a0639bbc8fca492cc087f1ec 100644 (file)
@@ -66,7 +66,7 @@ START_TEST(utc_elm_icon_animated_play_get_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an icon..", __FILE__, __LINE__);
         return;
      }
-   ret_file = elm_icon_file_set(icon, "animated_logo.gif", NULL);
+   ret_file = elm_icon_file_set(icon, "icon/animated_logo.gif", NULL);
    if (ret_file == EINA_FALSE)
      {
         evas_object_del(icon);
index 644e3b71d743735fe91124635efd4058d0b16ab7..caac05032009a55f3c9a1e4c1a1c82011dd065e9 100644 (file)
@@ -67,7 +67,7 @@ START_TEST(utc_elm_icon_animated_play_set_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an icon..", __FILE__, __LINE__);
         return;
      }
-   ret_file = elm_icon_file_set(icon, "animated_logo.gif", NULL);
+   ret_file = elm_icon_file_set(icon, "icon/animated_logo.gif", NULL);
    if (ret_file == EINA_FALSE)
      {
         evas_object_del(icon);
index d7e801c1932070545c09a64db6636fbbd7c41404..19a8a7f894cc22ea91e4d85efcc2c34d06e91aa9 100644 (file)
@@ -67,7 +67,7 @@ START_TEST(utc_elm_icon_animated_set_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an icon..", __FILE__, __LINE__);
         return;
      }
-   ret_file = elm_icon_file_set(icon, "animated_logo.gif", NULL);
+   ret_file = elm_icon_file_set(icon, "icon/animated_logo.gif", NULL);
    if (ret_file == EINA_FALSE)
      {
         evas_object_del(icon);
index 2858c45b5f7cace6b664d4059cc0c261f254f672..8b6b9fe66847a42436a6008ad1be87ff02b37f09 100644 (file)
@@ -67,7 +67,7 @@ START_TEST(utc_elm_icon_file_get_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an icon..", __FILE__, __LINE__);
         return;
      }
-   ret = elm_icon_file_set(icon, "icon_home.png", "icon");
+   ret = elm_icon_file_set(icon, "icon/icon_home.png", "icon");
    if (ret == EINA_FALSE)
      {
         evas_object_del(icon);
@@ -76,7 +76,7 @@ START_TEST(utc_elm_icon_file_get_p)
      }
    elm_icon_file_get(icon, &file, &group);
    evas_object_del(icon);
-   if (!file || strcmp(file, "icon_home.png") || !group || strcmp(group, "icon"))
+   if (!file || strcmp(file, "icon/icon_home.png") || !group || strcmp(group, "icon"))
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
         return;
@@ -117,7 +117,7 @@ START_TEST(utc_elm_icon_file_get_n)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an icon..", __FILE__, __LINE__);
         return;
      }
-   ret = elm_icon_file_set(icon, "icon_home.png", "icon");
+   ret = elm_icon_file_set(icon, "icon/icon_home.png", "icon");
    if (ret == EINA_FALSE)
      {
         evas_object_del(icon);
@@ -128,7 +128,7 @@ START_TEST(utc_elm_icon_file_get_n)
    UNITEST_FUNC_NEG(elm_icon_file_get, icon, &file, &group);
 
    evas_object_del(icon);
-   if (!file || strcmp(file, "icon_home.png") || !group || strcmp(group, "icon"))
+   if (!file || strcmp(file, "icon/icon_home.png") || !group || strcmp(group, "icon"))
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
         return;
index 40e40da2d477ea7c750739512e6dca9b9b92dbea..bb314f2d1fb651e531d65641f4508e8313aeb43c 100644 (file)
@@ -44,7 +44,7 @@ teardown(void)
  * @objective Positive test case 1 checks whether function call sets a valid file that will be used as icon
  * @n Input Data:
  * @li the icon object
- * @li "icon_home.png" char array as the path to file that will be used as icon image
+ * @li "icon/icon_home.png" char array as the path to file that will be used as icon image
  * @li "icon" char array as the group name that the icon belongs to
  *
  * @procedure
@@ -67,7 +67,7 @@ START_TEST(utc_elm_icon_file_set_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an icon..", __FILE__, __LINE__);
         return;
      }
-   ret = elm_icon_file_set(icon, "icon_home.png", "icon");
+   ret = elm_icon_file_set(icon, "icon/icon_home.png", "icon");
    if (ret == EINA_FALSE)
      {
         evas_object_del(icon);
@@ -76,7 +76,7 @@ START_TEST(utc_elm_icon_file_set_p)
      }
    elm_icon_file_get(icon, &file, &group);
    evas_object_del(icon);
-   if (!file || strcmp(file, "icon_home.png") || !group || strcmp(group, "icon"))
+   if (!file || strcmp(file, "icon/icon_home.png") || !group || strcmp(group, "icon"))
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
         return;
@@ -92,7 +92,7 @@ END_TEST
  * works without segmentation fault
  * @n Input Data:
  * @li the icon object
- * @li "icon_home.png" char array as the path to file that will be used as icon image
+ * @li "icon/icon_home.png" char array as the path to file that will be used as icon image
  * @li NULL as the group name that the icon belongs to
  *
  * @procedure
@@ -114,7 +114,7 @@ START_TEST(utc_elm_icon_file_set_n)
      }
 
    CREATE_CHECKED_ARGS_ARRAY(0, 0, 1);
-   UNITEST_FUNC_NEG_CA(elm_icon_file_set, icon, "icon_home.png", NULL);
+   UNITEST_FUNC_NEG_CA(elm_icon_file_set, icon, "icon/icon_home.png", NULL);
 
    evas_object_del(icon);
    printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
@@ -128,7 +128,7 @@ END_TEST
  * works properly and without segmentation fault
  * @n Input Data:
  * @li the icon object
- * @li "icon_home.png" char array as the path to file that will be used as icon image
+ * @li "icon/icon_home.png" char array as the path to file that will be used as icon image
  * @li "icon" char array as the group name that the icon belongs to
  *
  * @procedure
@@ -151,7 +151,7 @@ START_TEST(utc_elm_icon_file_set_n2)
      }
 
    CREATE_CHECKED_ARGS_ARRAY(1, 1, 0);
-   UNITEST_FUNC_NEG_CA_RET(EINA_FALSE, elm_icon_file_set, icon, "icon_home.png", "icon");
+   UNITEST_FUNC_NEG_CA_RET(EINA_FALSE, elm_icon_file_set, icon, "icon/icon_home.png", "icon");
 
    evas_object_del(icon);
    if (TEST_FAIL == result_of_testing)
index eb1401ed960fddbc8c499c3d32bb11fd8f8e7a8d..df40e97c1d5b55365ab7d29a1b043fb53168df6f 100644 (file)
@@ -19,7 +19,7 @@ setup(void)
    printf(" ============ Startup ============ \n");
    UTC_ELM_INIT();
    main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   elm_theme_extension_add(NULL, "./icon.edj");
+   elm_theme_extension_add(NULL, "./icon/icon.edj");
    if (main_win == NULL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
index 65800140f3c084aa26e2b7ce252fb617f99b1745..962c28eec1093f967a94297acdcc0232ba0f16d2 100644 (file)
@@ -19,7 +19,7 @@ setup(void)
    printf(" ============ Startup ============ \n");
    UTC_ELM_INIT();
    main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   elm_theme_extension_add(NULL, "./icon.edj");
+   elm_theme_extension_add(NULL, "./icon/icon.edj");
    if (main_win == NULL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
index b2b453bf26f247e60659cd80ef7255407f66d4be..a79b7c355461c455280627aba539c7c495cb2318 100644 (file)
@@ -58,7 +58,7 @@ teardown(void)
  */
 START_TEST(utc_UIFW_elm_icon_thumb_set_p_1)
 {
-   elm_icon_thumb_set(main_win, "icon_home.png", "anygroupyouwant");
+   elm_icon_thumb_set(main_win, "icon/icon_home.png", "anygroupyouwant");
    /*TODO: Write a function that wil help to check icon thumb.*/
 
    printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
@@ -87,7 +87,7 @@ END_TEST
 START_TEST(utc_UIFW_elm_icon_thumb_set_n_1)
 {
 
-   const char* file = "icon_home.png";
+   const char* file = "icon/icon_home.png";
    const char* group = "myGroup";
 
    UNITEST_FUNC_NEG(elm_icon_thumb_set, main_win, file, group);
index 5823ee61966bcc92917eb0e6a76dbdc054cb9b09..6545782c432105a9db6057b689a928d3d8d688e9 100644 (file)
@@ -71,7 +71,7 @@ START_TEST(utc_UIFW_elm_image_animated_available_get_p_1)
         return;
      }
 
-   ret_file = elm_image_file_set(image, "animated_logo.gif", NULL);
+   ret_file = elm_image_file_set(image, "image/animated_logo.gif", NULL);
    if (ret_file == EINA_FALSE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to set a file for the image..", __FILE__, __LINE__);
index 4b3e4b32bda4ba92f0ba5b7310f248062830957e..1cf93712b6d4d6e79a9ccc6631d2531b74e7c0e7 100644 (file)
@@ -71,7 +71,7 @@ START_TEST(utc_UIFW_elm_image_animated_get_p_1)
         return;
      }
 
-   ret_file = elm_image_file_set(image, "animated_logo.gif", NULL);
+   ret_file = elm_image_file_set(image, "image/animated_logo.gif", NULL);
    if (ret_file == EINA_FALSE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to set a file for the image..", __FILE__, __LINE__);
index 02f32b2f3cd9625d65b48369a81c72e2ccb2421a..613b044f42ed20d1b37fba2c9bfda89f0b9789ca 100644 (file)
@@ -70,7 +70,7 @@ START_TEST(utc_UIFW_elm_image_animated_play_get_p_1)
         return;
      }
 
-   ret_file = elm_image_file_set(image, "animated_logo.gif", NULL);
+   ret_file = elm_image_file_set(image, "image/animated_logo.gif", NULL);
    if (ret_file == EINA_FALSE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to set a file for the image..", __FILE__, __LINE__);
index c0e735b6f21a67715680a1fdb6874578d15d5f09..1b7622c33a9123960c4869e1acfa9962aad90d1a 100644 (file)
@@ -73,7 +73,7 @@ START_TEST(utc_UIFW_elm_image_animated_play_set_p_1)
         return;
      }
 
-   ret_file = elm_image_file_set(image, "animated_logo.gif", NULL);
+   ret_file = elm_image_file_set(image, "image/animated_logo.gif", NULL);
    if (ret_file == EINA_FALSE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to set a file for the image..", __FILE__, __LINE__);
index 8b17a22bd2e1f6b0784666de1aac6ac67412b4cf..0ee15b70f06aef3b76a0b92987b3ae73b8c37df0 100644 (file)
@@ -72,7 +72,7 @@ START_TEST(utc_UIFW_elm_image_animated_set_p_1)
         return;
      }
 
-   ret_file = elm_image_file_set(image, "animated_logo.gif", NULL);
+   ret_file = elm_image_file_set(image, "image/animated_logo.gif", NULL);
    if (ret_file == EINA_FALSE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to set a file for the image..", __FILE__, __LINE__);
index c7ee21db03dcf438c355d9e9d511fad55275f98d..f1127dfe5387431d26b60234febab3bb8ec7f294 100644 (file)
@@ -69,7 +69,7 @@ START_TEST(utc_elm_image_file_get_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an image object..", __FILE__, __LINE__);
         return;
      }
-   file_set = elm_image_file_set(image, "image_home.png", "icon");
+   file_set = elm_image_file_set(image, "image/image_home.png", "icon");
    if (file_set != EINA_TRUE)
      {
         evas_object_del(image);
@@ -77,7 +77,7 @@ START_TEST(utc_elm_image_file_get_p)
         return;
      }
    elm_image_file_get(image, &file, &group);
-   if (file == NULL || strcmp(file, eina_file_path_sanitize("image_home.png")) || group == NULL || strcmp(group, "icon"))
+   if (file == NULL || strcmp(file, eina_file_path_sanitize("image/image_home.png")) || group == NULL || strcmp(group, "icon"))
      {
         evas_object_del(image);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
@@ -119,7 +119,7 @@ START_TEST(utc_elm_image_file_get_n)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an image object..", __FILE__, __LINE__);
         return;
      }
-   file_set = elm_image_file_set(image, "image_home.png", "icon");
+   file_set = elm_image_file_set(image, "image/image_home.png", "icon");
    if (file_set != EINA_TRUE)
      {
         evas_object_del(image);
@@ -129,7 +129,7 @@ START_TEST(utc_elm_image_file_get_n)
 
    UNITEST_FUNC_NEG(elm_image_file_get, image, &file, &group);
 
-   if (file == NULL || strcmp(file, eina_file_path_sanitize("image_home.png")) || group == NULL || strcmp(group, "icon"))
+   if (file == NULL || strcmp(file, eina_file_path_sanitize("image/image_home.png")) || group == NULL || strcmp(group, "icon"))
      {
         evas_object_del(image);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
index bfa65e94c27d9958504afc36c7631edc8f1d4a35..acde7cbfe3d679002f6cef93147a290e4422cfca 100644 (file)
@@ -45,7 +45,7 @@ teardown(void)
  * @objective Positive test case checks whether function call to set an image file works properly
  * @n Input Data:
  * @li the image object
- * @li "image_home.png" as the path to file that will be used as image source
+ * @li "image/image_home.png" as the path to file that will be used as image source
  * @li "icon" as the group that the image belongs to
  *
  * @procedure
@@ -69,7 +69,7 @@ START_TEST(utc_elm_image_file_set_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an image object..", __FILE__, __LINE__);
         return;
      }
-   file_set = elm_image_file_set(image, "image_home.png", "icon");
+   file_set = elm_image_file_set(image, "image/image_home.png", "icon");
    if (file_set != EINA_TRUE)
      {
         evas_object_del(image);
@@ -78,7 +78,7 @@ START_TEST(utc_elm_image_file_set_p)
      }
    elm_image_file_get(image, &file, &group);
 
-   if (file == NULL || strcmp(file, eina_file_path_sanitize("image_home.png")) || group == NULL || strcmp(group, "icon"))
+   if (file == NULL || strcmp(file, eina_file_path_sanitize("image/image_home.png")) || group == NULL || strcmp(group, "icon"))
      {
         evas_object_del(image);
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
@@ -96,7 +96,7 @@ END_TEST
  * works without segmentation fault
  * @n Input Data:
  * @li NULL instead of the image object
- * @li "image_home.png" as the path to file that will be used as image source
+ * @li "image/image_home.png" as the path to file that will be used as image source
  * @li "icon" as the group that the image belongs to
  *
  * @procedure
@@ -109,7 +109,7 @@ START_TEST(utc_elm_image_file_set_n)
 {
 
    CREATE_CHECKED_ARGS_ARRAY(1, 0, 0);
-   UNITEST_FUNC_NEG_CA_RET(EINA_FALSE, elm_image_file_set, NULL, "image_home.png", "icon");
+   UNITEST_FUNC_NEG_CA_RET(EINA_FALSE, elm_image_file_set, NULL, "image/image_home.png", "icon");
 
    if (TEST_FAIL == result_of_testing)
      {
@@ -127,7 +127,7 @@ END_TEST
  * works without segmentation fault
  * @n Input Data:
  * @li the image object
- * @li "image_home.png" as the path to file that will be used as image source
+ * @li "image/image_home.png" as the path to file that will be used as image source
  * @li "icon" as the group that the image belongs to
  *
  * @procedure
@@ -150,7 +150,7 @@ START_TEST(utc_elm_image_file_set_n2)
      }
 
    CREATE_CHECKED_ARGS_ARRAY(0, 1, 1);
-   UNITEST_FUNC_NEG_CA(elm_image_file_set, image, "image_home.png", "icon");
+   UNITEST_FUNC_NEG_CA(elm_image_file_set, image, "image/image_home.png", "icon");
 
    evas_object_del(image);
    printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
index b77d8c2b09bc0effe60e4133b75de89b202392e9..8ec4f56162915e874c35091f961b25f68b04fff6 100644 (file)
@@ -104,7 +104,7 @@ END_TEST
 START_TEST(utc_UIFW_elm_image_memfile_set_n_1)
 {
    image = elm_image_add(main_win);
-   elm_image_file_set(image, "image_home.png", "icon");
+   elm_image_file_set(image, "image/image_home.png", "icon");
    int mydata[] = {
          0x00000000, 0x88888888, 0x00000000, 0x88888888, 0x00000000, 0x88888888, 0x00000000, 0x88888888,
          0xffff0000, 0xffffffff, 0xffff0000, 0xffffffff, 0xffff0000, 0xffffffff, 0xffff0000, 0xffffffff
index 6120b1b69b5e8f8a40672a14951588e4139eeec1..3b6e694be1f1a4834614022b47a5d77c40595486 100644 (file)
@@ -6,7 +6,7 @@
 static Evas_Object *main_win = NULL;
 static Eina_File *ef = NULL;
 
-static const char *file = "image_home.png";
+static const char *file = "image/image_home.png";
 static const char *group = "icon";
 
 /**
@@ -61,7 +61,7 @@ teardown(void)
  * @objective Positive test case checks whether function call to set an image mmap file works properly
  * @n Input Data:
  * @li the image object
- * @li "image_home.png" as mmaped file
+ * @li "image/image_home.png" as mmaped file
  * @li "icon" as the group that the image belongs to
  *
  * @procedure
@@ -102,7 +102,7 @@ END_TEST
  * works without segmentation fault
  * @n Input Data:
  * @li NULL instead of the image object
- * @li "image_home.png" as the path to file that will be used as image source
+ * @li "image/image_home.png" as the path to file that will be used as image source
  * @li "icon" as the group that the image belongs to
  *
  * @procedure
@@ -132,7 +132,7 @@ END_TEST
  * works without segmentation fault
  * @n Input Data:
  * @li the image object
- * @li "image_home.png" as the path to file that will be used as image source
+ * @li "image/image_home.png" as the path to file that will be used as image source
  * @li "icon" as the group that the image belongs to
  *
  * @procedure
index ce1ea10a75378a5e3e1938502bb30cf26d2b609c..fbff9b9d0ad69b9f9b1cdd5f0b64a2f91889884b 100644 (file)
@@ -63,7 +63,7 @@ teardown(void)
 START_TEST(utc_UIFW_elm_image_object_get_p_1)
 {
    image = elm_image_add(main_win);
-   elm_image_file_set(image, "image_home.png", "icon");
+   elm_image_file_set(image, "image/image_home.png", "icon");
 
    Evas_Object *image2 = NULL;
    image2 = elm_image_object_get(main_win);
index cbd9d2c7f781f11608762150f14cdbdb9a73f0c2..5dcbaa33498849b26ac21cfed067393262c85f18 100644 (file)
@@ -69,7 +69,7 @@ START_TEST(utc_elm_image_object_size_get_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an image object..", __FILE__, __LINE__);
         return;
      }
-   file_set = elm_image_file_set(image, "image_home.png", "icon");
+   file_set = elm_image_file_set(image, "image/image_home.png", "icon");
    if (file_set != EINA_TRUE)
      {
         evas_object_del(image);
@@ -119,7 +119,7 @@ START_TEST(utc_elm_image_object_size_get_n)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an image object..", __FILE__, __LINE__);
         return;
      }
-   file_set = elm_image_file_set(image, "image_home.png", "icon");
+   file_set = elm_image_file_set(image, "image/image_home.png", "icon");
    if (file_set != EINA_TRUE)
      {
         evas_object_del(image);
index 7bb1d9909af3b99319942aa7e935bfa90629c0e6..6908bc5cbd7cae44b915797effa09ee7bcfcf299 100644 (file)
@@ -69,7 +69,7 @@ START_TEST(utc_elm_image_orient_get_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an image object..", __FILE__, __LINE__);
         return;
      }
-   file_set = elm_image_file_set(image, "image_home.png", "icon");
+   file_set = elm_image_file_set(image, "image/image_home.png", "icon");
    if (file_set != EINA_TRUE)
      {
         evas_object_del(image);
index d50701440e6cd83ab1914f3c6a65b0471ea82281..26468429020ef934e75134a922a909cff0892105 100644 (file)
@@ -70,7 +70,7 @@ START_TEST(utc_elm_image_orient_set_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an image object..", __FILE__, __LINE__);
         return;
      }
-   file_set = elm_image_file_set(image, "image_home.png", "icon");
+   file_set = elm_image_file_set(image, "image/image_home.png", "icon");
    if (file_set != EINA_TRUE)
      {
         evas_object_del(image);
@@ -151,7 +151,7 @@ START_TEST(utc_elm_image_orient_set_n2)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an image object..", __FILE__, __LINE__);
         return;
      }
-   file_set = elm_image_file_set(image, "image_home.png", "icon");
+   file_set = elm_image_file_set(image, "image/image_home.png", "icon");
    if (file_set != EINA_TRUE)
      {
         evas_object_del(image);
index 39b0e4eafc8709066c31e97313ad9d9c0903b258..7ecffbae1cacfb3be19f190a65287e30a5e2f2bd 100644 (file)
@@ -73,7 +73,7 @@ START_TEST(utc_elm_image_resizable_get_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an image object..", __FILE__, __LINE__);
         return;
      }
-   file_set = elm_image_file_set(image, "image_home.png", "icon");
+   file_set = elm_image_file_set(image, "image/image_home.png", "icon");
    if (file_set != EINA_TRUE)
      {
         evas_object_del(image);
@@ -132,7 +132,7 @@ START_TEST(utc_elm_image_resizable_get_n)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an image object..", __FILE__, __LINE__);
         return;
      }
-   file_set = elm_image_file_set(image, "image_home.png", "icon");
+   file_set = elm_image_file_set(image, "image/image_home.png", "icon");
    if (file_set != EINA_TRUE)
      {
         evas_object_del(image);
index 1a2aa55969be26414470fba1f6abd7d38b2b8f44..24c728be71583f99ef2942d63bdf644b46a660b5 100644 (file)
@@ -73,7 +73,7 @@ START_TEST(utc_elm_image_resizable_set_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Unable to create an image object..", __FILE__, __LINE__);
         return;
      }
-   file_set = elm_image_file_set(image, "image_home.png", "icon");
+   file_set = elm_image_file_set(image, "image/image_home.png", "icon");
    if (file_set != EINA_TRUE)
      {
         evas_object_del(image);
index 7e68100712786f48e3780997004e718db7f914b4..65f245b37f06bdedb1954156e59e7cc54d38b04c 100644 (file)
@@ -4,7 +4,7 @@
 #include "../../utc_negative_unitest.h"
 
 #define BOX "test_suite/box"
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL, *button = NULL;
 
index 40d5cd81823ed46ce0235cc64fb706f96bc7f9fb..4c345d247e5734e22596203b17d9e3bfcf60f88d 100644 (file)
@@ -4,7 +4,7 @@
 #include "../../utc_negative_unitest.h"
 
 #define BOX "test_suite/box"
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL, *button = NULL;
 
index a7e757423700c98a2bd1b6fed8618798f012bee1..e8aeadfbcfd5c11881a1bf9489be7670b95c0833 100644 (file)
@@ -4,7 +4,7 @@
 #include "../../utc_negative_unitest.h"
 
 #define BOX "test_suite/box"
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL, *button1 = NULL, *button2 = NULL;
 
index 2fcb74f10c0b87c990f8ace4fd31270b6b01b9a1..4e759572b913bf09b6d43e5b0bd078937d2de09a 100644 (file)
@@ -4,7 +4,7 @@
 #include "../../utc_negative_unitest.h"
 
 #define BOX "test_suite/box"
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL, *button = NULL;
 
index f891412ed05d1532227feed0479a103fd7711f0e..d14e2e3b233e8fda3719a14e4be4ba7b810d7912 100644 (file)
@@ -4,7 +4,7 @@
 #include "../../utc_negative_unitest.h"
 
 #define BOX "test_suite/box"
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL, *button = NULL;
 
index 061f15766bf02781677bbf0c6d01db3775625ad4..10fbbc8eb160aa863121cb04fbc0b41bff958850 100644 (file)
@@ -4,7 +4,7 @@
 #include "../../utc_negative_unitest.h"
 
 #define BOX "test_suite/box"
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL, *button1 = NULL, *button2 = NULL;
 
index 44fce884a39404fb34661bd5af67452f5c1a7ef7..a8af294150934995af4b0dbdaf1f3b669066c1e9 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define PART_NAME "test_suite/custom"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL, *button = NULL;
index 329e9c5464f78304f0e62e5f06bc48b4314db08c..c1773034ba659f49e570b1f5ed1c8de7bc2cc36c 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define PART_NAME "test_suite/custom"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL, *button = NULL;
index d3ec7b3cc1135b0a135165f2257d58df4caa8ab2..187d538c53a1f0a4abb13cedafbd02910e38f56d 100644 (file)
@@ -69,7 +69,7 @@ teardown(void)
  */
 START_TEST(utc_elm_layout_content_swallow_list_get_p)
 {
-   if (!elm_layout_file_set(layout, "./layout_example_test.edj", "test_layout"))
+   if (!elm_layout_file_set(layout, "./layout/layout_example_test.edj", "test_layout"))
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
      }
index a84b381590e70b547f58caaf731e7231d970f2f9..09b1cd9c3f9746d323eb2372b58e1a8ea5c478e1 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define PART_NAME "test_suite/custom"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL, *button = NULL;
index d5c4f08074000c341b2be110bc232beaf2c71a66..bb12bb7a50eb787e5e5b2518802171c7befba4ad 100644 (file)
@@ -4,7 +4,7 @@
 #include "../../utc_negative_unitest.h"
 
 #define BOX "test_suite/box"
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL;
 
index bebf65fdce682e6632f307a8290bd763862cbd73..50aab6c75f6efb3873522e45da0567d4788544e9 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL;
 
index ac36336249573dbf049eded6a02f20cfcd8bec7e..5be525fe337cc6e352a58210b1a24bc3b943f10c 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL;
 
index 9b8abdc04e78d0651dc483a22a7e9c8845542e58..f1387823becbeb24833270b7df0fdb05de7051b3 100644 (file)
@@ -59,7 +59,7 @@ teardown(void)
  * @step 1 Call elm_layout_file_set function to set the file that will be used as layout
  * and check on EINA_TRUE
  * @step 2 Call elm_layout_file_get function to get the loaded file and group name
- * and check on expected values (edj file name on "./layout_example_test.edj", group name on "test_layout")
+ * and check on expected values (edj file name on "./layout/layout_example_test.edj", group name on "test_layout")
  *
  * @passcondition
  * @li Test passes if function gets expected the loaded file and group name
@@ -68,7 +68,7 @@ teardown(void)
  */
 START_TEST(utc_elm_layout_file_get_p)
 {
-   if (!elm_layout_file_set(layout, "./layout_example_test.edj", "test_layout"))
+   if (!elm_layout_file_set(layout, "./layout/layout_example_test.edj", "test_layout"))
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
      }
index 95663fcd9de941fb922d7540d5721d17adeb5cfd..6c0d47ed84bd56a27ec07d2644293503001bf944 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL;
 
@@ -54,7 +54,7 @@ teardown(void)
  * that will be used as layout works properly and without segmentation fault
  * @n Input Data:
  * @li the layout object
- * @li "test_suite_layout.edj" as the path to file (edj) that will be used as layout
+ * @li "layout/test_suite_layout.edj" as the path to file (edj) that will be used as layout
  * @li "test_suite/layout" as the group that the layout belongs in edje file
  *
  * @procedure
@@ -89,7 +89,7 @@ END_TEST
  * that will be used as layout works properly and without segmentation fault
  * @n Input Data:
  * @li NULL, the layout object
- * @li NULL, "test_suite_layout.edj" as the path to file (edj) that will be used as layout
+ * @li NULL, "layout/test_suite_layout.edj" as the path to file (edj) that will be used as layout
  * @li NULL, "test_suite/layout" as the group that the layout belongs in edje file
  *
  * @procedure
index f88cb2fd07fa3dad6a502f996a3a79c8900a5ac6..2fe45138a67fcfbc28a80ff08c90ad5f19e98ca9 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL;
 
index 1325ab6df2368d20133824536709d9b253df4c18..002346064f5bbad0c17f1a277a7ee4a3e826bfb5 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define BOX "test_suite/box"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL, *button = NULL;
index 024751e2dddbe29395408135a191323e6611d7d0..3efc79d0784f8f4f48e36439f2ce76701eb3137d 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define BOX "test_suite/box"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL, *button = NULL;
index 94a01c6dacdea411ed67464db34a02033a27d4b8..f33239a8b05fc08383968e19e74821385b28f07e 100644 (file)
@@ -4,7 +4,7 @@
 #include <Elementary_Cursor.h>
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 #define PART_NAME "test_suite/title"
 static Evas_Object *main_win = NULL, *layout = NULL;
index 1b3603d14365c77948bd966fde8d630f5d93cd78..485352ed323892cc63e928d69ac6568b97252a3c 100644 (file)
@@ -5,7 +5,7 @@
 #include "../../utc_negative_unitest.h"
 
 #define BOX "test_suite/box"
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL;
 
index d0042a446ad056cd6f5335e40e2fa1ad4d3731c2..0c990a9b16dcc8b94116f4a007433cdd34ab97d2 100644 (file)
@@ -4,7 +4,7 @@
 #include <Elementary_Cursor.h>
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 #define PART_NAME "test_suite/title"
 #define STYLE "test style"
index ed07f11c8a8a9ce4f80bc31dbc11883aac897e01..7fcc0d33673b9e0e2ff53f9e2e281f22bab89a1b 100644 (file)
@@ -4,7 +4,7 @@
 #include <Elementary_Cursor.h>
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 #define PART_NAME "test_suite/title"
 #define STYLE "test style"
index ac3949f4128248104aab7431b347467d7a3722c7..155c08db4338d3bcf86cd2a67e4af1b25bbf948b 100644 (file)
@@ -5,7 +5,7 @@
 #include "../../utc_negative_unitest.h"
 
 #define PART_NAME "test_suite/title"
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL;
 
index 98622d4d69f9def0edf04847d2ea577832a183dd..d22d9d431f3ef9222bcab9cf97fc75a876850dac 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define MY_FILE "test_suite_layout.edj"
+#define MY_FILE "layout/test_suite_layout.edj"
 #define MY_GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL;
 
index 3b61dbb24d2f8520082af07733a083a563825f37..c06b6deef05708a87e92226a1b9f89ff507fbafa 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define MY_FILE "test_suite_layout.edj"
+#define MY_FILE "layout/test_suite_layout.edj"
 #define MY_GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL;
 
index 55bd753d14706738287bd250f1cec5fbfc03b0f5..d7524a7c3306466443b24edf0b12b4af62d1ea59 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define MY_FILE "test_suite_layout.edj"
+#define MY_FILE "layout/test_suite_layout.edj"
 #define MY_GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL;
 
index a7a1605d058c131ed117e20bae6843cb548cf5e3..ec3e7f5601a4d0b353cbeb85f0b34869f1ded088 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout_new"
 static Evas_Object *main_win = NULL, *layout = NULL;
 
index 6cba22e1806c701c5f9c1a30d485fad69c0d8448..0b59ca595d0de4efe7b9e424e8f5dcd911b43106 100644 (file)
@@ -89,7 +89,7 @@ START_TEST(utc_elm_layout_sizing_restricted_eval_p)
          ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
      }
    evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-   elm_layout_file_set(layout, "test_suite_layout.edj", "test_suite/layout_new");
+   elm_layout_file_set(layout, "layout/test_suite_layout.edj", "test_suite/layout_new");
    elm_win_resize_object_add(main_win, layout);
    evas_object_show(layout);
    elm_object_signal_callback_add(layout, "size,changed", "", _size_changed_cb, layout);
index e072824f3cad1178c3ca63bf790a0cec07a7a94d..6d8d73fd69399b80c2179b6bac347c2b24007300 100644 (file)
@@ -4,7 +4,7 @@
 #include "../../utc_negative_unitest.h"
 
 #define TABLE "test_suite/table"
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL, *button = NULL;
 static Eina_Bool is_layout_file_set = EINA_TRUE, is_layout_table_pack = EINA_TRUE;
index c1e5a1e42d8ce8ed2df08968a0652a65721b9570..4c20b3ac3d2d64777f9d878ece1109725651a7a4 100644 (file)
@@ -4,7 +4,7 @@
 #include "../../utc_negative_unitest.h"
 
 #define TABLE "test_suite/table"
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL, *button = NULL;
 
index ab1fd3f7e1fabe698fd975ade318c684d48f6930..6c9e542095d8c6460500258d7e916cb98c01a200 100644 (file)
@@ -4,7 +4,7 @@
 #include "../../utc_negative_unitest.h"
 
 #define TABLE "test_suite/table"
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL, *button = NULL;
 static Eina_Bool is_layout_file_set = EINA_TRUE, is_layout_table_pack = EINA_TRUE;
index 6577a392d77ef76153cd190aeca727d509bd6f7e..01414044939755fe47f9b90455501dfbe307da45 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 #define PART_NAME "test_suite/title"
 #define TEXT "text to part"
index 87a5da6a465952dc3fa2911ee0b3759a5e287583..89703e3ad777dd4f2e2658b3e395da38c62537fe 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 #define PART "test_suite/title"
 #define TEXT "The text to set"
index 06ea233879e9c6e9a6305bb7daad823e47a608d6..0ca7753d739c79f78b9ae9b960651a00192f958e 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define FILE "test_suite_layout.edj"
+#define FILE "layout/test_suite_layout.edj"
 #define GROUP "test_suite/layout"
 static Evas_Object *main_win = NULL, *layout = NULL;
 
index f596015617b12b24ae8da1b04f2b4dc6f6c7146d..24c57f269410faaa4932cb9229b1869fe185b16a 100644 (file)
@@ -36,7 +36,7 @@ setup(void)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
      }
 #ifdef ELM_EMAP
-   emap = emap_route_gpx_new("track.gpx");
+   emap = emap_route_gpx_new("./map/track.gpx");
    if (emap == NULL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to load a track..", __FILE__, __LINE__);
index be007cc923be6bdb5a89d782e07acbc33f9ee2a3..94c722606e52b5f34a5e36bf96240772fed28088 100644 (file)
@@ -36,7 +36,7 @@ setup(void)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
      }
 #ifdef ELM_EMAP
-   emap = emap_route_gpx_new("track.gpx");
+   emap = emap_route_gpx_new("./map/track.gpx");
    if (emap == NULL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to load a track..", __FILE__, __LINE__);
index 7a555fa9fbbe8cdb26ed6a6c3361d596da6bd89b..4eb2a95ab4d5241e78a30e14e7d57eb3b6117ee1 100644 (file)
@@ -54,7 +54,7 @@ teardown(void)
  * works properly and doesn't cause segmentation fault
  * @n Input Data:
  * @li the photo object
- * @li "./tizen_efl.png" string, NULL
+ * @li "./photo/tizen_efl.png" string, NULL
  *
  * @procedure
  * @step 1 Set the file for photo
@@ -70,7 +70,7 @@ START_TEST(utc_elm_photo_file_set_p)
      {
         return;
      }
-   set = elm_photo_file_set(photo, "./tizen_efl.png");
+   set = elm_photo_file_set(photo, "./photo/tizen_efl.png");
    if (set != EINA_TRUE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
@@ -93,7 +93,7 @@ END_TEST
  * works properly and doesn't cause segmentation fault
  * @n Input Data:
  * @li NULL instead of the photo object
- * @li "./tizen_efl.png"
+ * @li "./photo/tizen_efl.png"
  *
  * @procedure
  * @step 1 Call test function with NULL instead of the photo object
@@ -110,7 +110,7 @@ START_TEST(utc_elm_photo_file_set_n)
         return;
      }
    CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA_RET(EINA_FALSE, elm_photo_file_set, photo, "./tizen_efl.png");
+   UNITEST_FUNC_NEG_CA_RET(EINA_FALSE, elm_photo_file_set, photo, "./photo/tizen_efl.png");
    if (result_of_testing == TEST_FAIL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
index 285277c097138c5885ecaaa463b713da7ed7d131..ef35a6b608dbb80356c10c75213dbeb0fad8ceb9 100644 (file)
@@ -54,8 +54,8 @@ teardown(void)
  * doesn't cause segmentation fault
  * @n Input Data:
  * @li the photo object
- * @li "./tizen_efl.png"
- * @li "./tizen_efl.png"
+ * @li "./photo/tizen_efl.png"
+ * @li "./photo/tizen_efl.png"
  *
  * @procedure
  * @step 1 Set file for thumbnail for photo
@@ -69,7 +69,7 @@ START_TEST(utc_elm_photo_thumb_set_p)
      {
         return;
      }
-   elm_photo_thumb_set(photo, "./tizen_efl.png", "./tizen_efl.png");
+   elm_photo_thumb_set(photo, "./photo/tizen_efl.png", "./photo/tizen_efl.png");
    /*TODO write test that checks if thumbnail is sat for photo*/
    printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
 }
@@ -82,8 +82,8 @@ END_TEST
  * works properly and doesn't cause segmentation fault
  * @n Input Data:
  * @li NULL, the photo object
- * @li NULL, "./tizen_efl.png"
- * @li NULL, "./tizen_efl.png"
+ * @li NULL, "./photo/tizen_efl.png"
+ * @li NULL, "./photo/tizen_efl.png"
  *
  * @procedure
  * @step 1 Call test function with NULL instead of valid parameters
@@ -97,7 +97,7 @@ START_TEST(utc_elm_photo_thumb_set_n)
      {
         return;
      }
-   UNITEST_FUNC_NEG(elm_photo_thumb_set, photo, "./tizen_efl.png", "./tizen_efl.png");
+   UNITEST_FUNC_NEG(elm_photo_thumb_set, photo, "./photo/tizen_efl.png", "./photo/tizen_efl.png");
    printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
 }
 END_TEST
index 8c463c19959a0c8234cd5f9ca6a5b29c3f38fe9a..da11e317c17e70d4889d43f7ec04ba6840adb6ff 100644 (file)
@@ -59,7 +59,7 @@ teardown(void)
  * @step 2 Get path of current file
  *
  * @passcondition Returned value is equal to EVAS_LOAD_ERROR_NONE at step 1,
- * returned value is equal to "tizen_efl.png" at step 2 and there is no segmentation fault
+ * returned value is equal to "./photocam/tizen_efl.png" at step 2 and there is no segmentation fault
  * @}
  */
 START_TEST(utc_elm_photocam_file_get_p)
@@ -71,14 +71,14 @@ START_TEST(utc_elm_photocam_file_get_p)
      {
         return;
      }
-   load_result = elm_photocam_file_set(photocam, "tizen_efl.png");
+   load_result = elm_photocam_file_set(photocam, "./photocam/tizen_efl.png");
    if (load_result != EVAS_LOAD_ERROR_NONE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
         return;
      }
    file = elm_photocam_file_get(photocam);
-   if (!file || (strcmp(file, "tizen_efl.png") != 0))
+   if (!file || (strcmp(file, "./photocam/tizen_efl.png") != 0))
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
         return;
index f4c89d7de72a3508fda1ff702bc8113567157593..479db25ffa7bcf76efa63f33ef3de11c0bad5b55 100644 (file)
@@ -62,14 +62,14 @@ teardown(void)
  * and doesn't cause segmentation fault
  * @n Input Data:
  * @li the photocam object
- * @li "tizen_efl.png" string
+ * @li "./photocam/tizen_efl.png" string
  *
  * @procedure
  * @step 1 Set photo file to be shown
  * @step 2 Get path of current file
  *
  * @passcondition Returned value is equal to EVAS_LOAD_ERROR_NONE at step 1,
- * returned value is equal to "tizen_efl.png" at step 2 and there is no segmentation fault
+ * returned value is equal to "./photocam/tizen_efl.png" at step 2 and there is no segmentation fault
  * @}
  */
 START_TEST(utc_elm_photocam_file_set_p)
@@ -81,14 +81,14 @@ START_TEST(utc_elm_photocam_file_set_p)
      {
         return;
      }
-   load_result = elm_photocam_file_set(photocam, "tizen_efl.png");
+   load_result = elm_photocam_file_set(photocam, "./photocam/tizen_efl.png");
    if (load_result != EVAS_LOAD_ERROR_NONE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
         return;
      }
    file = elm_photocam_file_get(photocam);
-   if ((!file) || (strcmp(file, "tizen_efl.png") != 0))
+   if ((!file) || (strcmp(file, "./photocam/tizen_efl.png") != 0))
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
         return;
@@ -104,7 +104,7 @@ END_TEST
  * and doesn't cause segmentation fault when photocam is NULL
  * @n Input Data:
  * @li the photocam object (NULL in the second case)
- * @li "non_existing.png" string, "tizen_efl.png" (in the second case)
+ * @li "non_existing.png" string, "./photocam/tizen_efl.png" (in the second case)
  *
  * @procedure
  * @step 1 Set a non existing photo file to be shown
@@ -125,7 +125,7 @@ START_TEST(utc_elm_photocam_file_set_p2)
         return;
      }
    load_result = elm_photocam_file_set(photocam2, "non_existing.png");
-      load_result2 = elm_photocam_file_set(NULL, "tizen_efl.png");
+      load_result2 = elm_photocam_file_set(NULL, "./photocam/tizen_efl.png");
    if ((load_result != EVAS_LOAD_ERROR_DOES_NOT_EXIST) ||
             (load_result2 != EVAS_LOAD_ERROR_NONE)) {
       ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
@@ -142,7 +142,7 @@ END_TEST
  * instead of photocam, file parameters works properly and doesn't cause segmentation fault
  * @n Input Data:
  * @li NULL, the photocam object
- * @li "tizen_efl.png" string, NULL
+ * @li "./photocam/tizen_efl.png" string, NULL
  *
  * @procedure
  * @step 1 Call test function with NULL instead of the photocam, file parameters
@@ -153,7 +153,7 @@ END_TEST
 #ifdef NOT_APPROVED_FOR_BUILD
 START_TEST(utc_elm_photocam_file_set_n)
 {
-   if (UNITEST_FUNC_NEG_RET(EVAS_LOAD_ERROR_GENERIC, elm_photocam_file_set, photocam, "tizen_efl.png") == TEST_FAIL)
+   if (UNITEST_FUNC_NEG_RET(EVAS_LOAD_ERROR_GENERIC, elm_photocam_file_set, photocam, "./photocam/tizen_efl.png") == TEST_FAIL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
         return;
index 7a77ff86de45ff8d26879c182dd241ff411e75ac..8688c97672b8ecb65be5b2e0566dc39102f733b1 100644 (file)
@@ -69,7 +69,7 @@ START_TEST(utc_elm_photocam_image_orient_p)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create photocam..", __FILE__, __LINE__);
      }
 
-   elm_photocam_file_set(photocam, "tizen_efl.png");
+   elm_photocam_file_set(photocam, "./photocam/tizen_efl.png");
    evas_object_resize(photocam, 200, 200);
    evas_object_show(photocam);
 
index 97c49b8c20ae27b05f0553f0fb80aa2ee3ee3349..cd300778c128cb6a01e7d3dca4a4fdeb0afbd3b9 100644 (file)
@@ -83,7 +83,7 @@ START_TEST(utc_elm_photocam_image_region_bring_in_p)
      {
         return;
      }
-   if (elm_photocam_file_set(photocam, "tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
+   if (elm_photocam_file_set(photocam, "./photocam/tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to set photocam file..", __FILE__, __LINE__);
         return;
@@ -156,7 +156,7 @@ START_TEST(utc_elm_photocam_image_region_bring_in_n2)
      {
         return;
      }
-   if (elm_photocam_file_set(photocam2, "tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
+   if (elm_photocam_file_set(photocam2, "./photocam/tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to set photocam file..", __FILE__, __LINE__);
         return;
index 9dfd63f13f8fe0293d2d5a62835eb897f56e40c0..dcc2f6109c404929b566e8f750ba2bb6fbacec4e 100644 (file)
@@ -23,7 +23,7 @@ setup(void)
    printf(" ============ Startup ============ \n");
    UTC_ELM_INIT();
    main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   elm_theme_extension_add(NULL, "./photocam.edj");
+   elm_theme_extension_add(NULL, "./photocam/photocam.edj");
    if (main_win == NULL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
@@ -86,7 +86,7 @@ START_TEST(utc_elm_photocam_image_region_get_p)
      {
         return;
      }
-   if (elm_photocam_file_set(photocam, "tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
+   if (elm_photocam_file_set(photocam, "./photocam/tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to set photocam file..", __FILE__, __LINE__);
         return;
@@ -136,7 +136,7 @@ START_TEST(utc_elm_photocam_image_region_get_n)
      {
         return;
      }
-   if (elm_photocam_file_set(photocam2, "tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
+   if (elm_photocam_file_set(photocam2, "./photocam/tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to set photocam file..", __FILE__, __LINE__);
         return;
index 0ec18ed86e39bb2c63dac860350d92e82c88c16c..2266ce40de747fd5aceff383b4e126341d37ad9b 100644 (file)
@@ -79,7 +79,7 @@ START_TEST(utc_elm_photocam_image_region_show_p)
      {
         return;
      }
-   if (elm_photocam_file_set(photocam, "tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
+   if (elm_photocam_file_set(photocam, "./photocam/tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to set photocam file..", __FILE__, __LINE__);
         return;
@@ -142,7 +142,7 @@ START_TEST(utc_elm_photocam_image_region_show_n2)
      {
         return;
      }
-   if (elm_photocam_file_set(photocam2, "tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
+   if (elm_photocam_file_set(photocam2, "./photocam/tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to set photocam file..", __FILE__, __LINE__);
         return;
index dbd66359613b4bce2f64c7f1822292d9f05d71af..951b7161686aaa98fe8d926bbb099b9ca67687ec 100644 (file)
@@ -69,7 +69,7 @@ teardown(void)
  * @step 2 Get the current image pixel width and height
  *
  * @passcondition w and h are equal to width and height of an image. For
- * "tizen_efl.png" expected 114 as width and height. There is no segmentation fault
+ * "./photocam/tizen_efl.png" expected 114 as width and height. There is no segmentation fault
  * @}
  */
 START_TEST(utc_elm_photocam_image_size_get_p)
@@ -80,7 +80,7 @@ START_TEST(utc_elm_photocam_image_size_get_p)
      {
         return;
      }
-   if (elm_photocam_file_set(photocam, "tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
+   if (elm_photocam_file_set(photocam, "./photocam/tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to set photocam file..", __FILE__, __LINE__);
         return;
@@ -120,7 +120,7 @@ START_TEST(utc_elm_photocam_image_size_get_n)
      {
         return;
      }
-   if (elm_photocam_file_set(photocam2, "tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
+   if (elm_photocam_file_set(photocam2, "./photocam/tizen_efl.png") != EVAS_LOAD_ERROR_NONE)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to set photocam file..", __FILE__, __LINE__);
         return;
index 20033dd4d8e7b3ca6a6e02fe55e374537341c762..f9487f31bfe14a2736980dee536b802c161921c8 100644 (file)
@@ -43,7 +43,7 @@ setup(void)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an icon..", __FILE__, __LINE__);
         return;
      }
-   elm_icon_file_set(icon1, "/images/logo_small.png", NULL);
+   elm_icon_file_set(icon1, "./data/images/logo_small.png", NULL);
 }
 
 static void
index 825c7768a8089b300d6af92124312d8fcec7c0d2..cb669dac1f6faa9c01e756ccc5becc0c32b01f6a 100644 (file)
@@ -7,8 +7,8 @@ static Evas_Object *slide_show = NULL;
 
 static Eina_Bool flag_of_get_func = EINA_FALSE;
 static Elm_Slideshow_Item_Class itc;
-static const char *img1 = "images/Albums_Item1.jpg";
-static const char *img2 = "images/Albums_Item2.jpg";
+static const char *img1 = "./slideshow/images/Albums_Item1.jpg";
+static const char *img2 = "./slideshow/images/Albums_Item2.jpg";
 
 static Evas_Object* _get(void* data, Evas_Object* obj)
 {
index ec912d2939249f4906c88b92123ab8ec09ed5b78..63d11c0f3928be93e246b73ad74840812fc27a02 100644 (file)
@@ -8,8 +8,8 @@ static Elm_Object_Item *slide_object1 = NULL;
 static Elm_Object_Item *slide_object2 = NULL;
 
 static Elm_Slideshow_Item_Class itc;
-static const char *img1 = "images/Albums_Item1.jpg";
-static const char *img2 = "images/Albums_Item2.jpg";
+static const char *img1 = "./slideshow/images/Albums_Item1.jpg";
+static const char *img2 = "./slideshow/images/Albums_Item2.jpg";
 
 static Evas_Object* _get(void* data, Evas_Object* obj)
 {
index 4a26ba64a7ee4943412762babb004d7e330b8529..2b28173b3134616170c5e427d6b321a6ec92947e 100644 (file)
@@ -7,8 +7,8 @@ static Evas_Object *slide_show = NULL;
 
 static Elm_Slideshow_Item_Class itc;
 static Eina_Bool flag_of_cmp_func = EINA_FALSE;
-static const char *img1 = "images/Albums_Item1.jpg";
-static const char *img2 = "images/Albums_Item2.jpg";
+static const char *img1 = "./slideshow/images/Albums_Item1.jpg";
+static const char *img2 = "./slideshow/images/Albums_Item2.jpg";
 
 static int cmp_func(const void* data1, const void* data2)
 {
index 8a4ef132a1c8cb86d9d5664bd2ad17d50784d08d..d7d6795b152d9e9b07c3361780fcb00f4cb6cfea 100644 (file)
@@ -8,8 +8,8 @@ static Elm_Object_Item *slide_object1 = NULL;
 static Elm_Object_Item *slide_object2 = NULL;
 
 static Elm_Slideshow_Item_Class itc;
-static const char *img1 = "images/Albums_Item1.jpg";
-static const char *img2 = "images/Albums_Item2.jpg";
+static const char *img1 = "./slideshow/images/Albums_Item1.jpg";
+static const char *img2 = "./slideshow/images/Albums_Item2.jpg";
 
 static Evas_Object* _get(void* data, Evas_Object* obj)
 {
index 75e5dcb5511a27765eb490cefde5c0c51ff2baa7..9f604e029af373e1f4c7bfa06341c1519100d4de 100644 (file)
@@ -8,8 +8,8 @@ static Elm_Object_Item *slide_object1 = NULL;
 static Elm_Object_Item *slide_object2 = NULL;
 
 static Elm_Slideshow_Item_Class itc;
-static const char *img1 = "images/Albums_Item1.jpg";
-static const char *img2 = "images/Albums_Item2.jpg";
+static const char *img1 = "./slideshow/images/Albums_Item1.jpg";
+static const char *img2 = "./slideshow/images/Albums_Item2.jpg";
 
 static Evas_Object* _get(void* data, Evas_Object* obj)
 {
index e64f78b98d4770c4765c392d3b0e732d55e22c12..0312a897460e3749b767ed87da1e0826ed0fe258 100644 (file)
@@ -8,8 +8,8 @@ static Elm_Object_Item *slide_object1 = NULL;
 static Elm_Object_Item *slide_object2 = NULL;
 
 static Elm_Slideshow_Item_Class itc;
-static const char *img1 = "images/Albums_Item1.jpg";
-static const char *img2 = "images/Albums_Item2.jpg";
+static const char *img1 = "./slideshow/images/Albums_Item1.jpg";
+static const char *img2 = "./slideshow/images/Albums_Item2.jpg";
 
 static Evas_Object* _get(void* data, Evas_Object* obj)
 {
index 590625fda79d6f3fb7542a2c4112b3e7c37f55e8..bbb1ca59c23dd032a456d62495bd798a6eb119f6 100644 (file)
@@ -64,7 +64,7 @@ START_TEST(utc_elm_theme_copy_p_01)
         return;
      }
 
-   elm_theme_extension_add(theme, "./theme_example.edj");
+   elm_theme_extension_add(theme, "./theme/theme_example.edj");
    elm_theme_copy(theme, theme_copy);
    if (strcmp(elm_theme_get(theme_copy), elm_theme_get(theme)))
      {
index b03f42e5886184adb80b4b3d3aab8ac0776d99ed..7408d3b37a679f5bdc880b513404e036c59427ba 100644 (file)
@@ -49,7 +49,7 @@ teardown(void)
 START_TEST(utc_elm_theme_data_get_p_01)
 {
 
-   elm_theme_overlay_add(NULL, "./theme_with_data.edj");
+   elm_theme_overlay_add(NULL, "./theme/theme_with_data.edj");
    theme = elm_theme_new();
    if (theme == NULL)
      {
@@ -79,7 +79,7 @@ START_TEST(utc_elm_theme_data_get_p_01)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, returned value is NULL..", __FILE__, __LINE__);
         return;
      }
-   elm_theme_overlay_del(NULL, "./theme_with_data.edj");
+   elm_theme_overlay_del(NULL, "./theme/theme_with_data.edj");
    printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
 }
 END_TEST
@@ -100,7 +100,7 @@ END_TEST
  */
 START_TEST(utc_elm_theme_data_get_n_01)
 {
-   elm_theme_overlay_add(NULL, "./theme_with_data.edj");
+   elm_theme_overlay_add(NULL, "./theme/theme_with_data.edj");
    theme = elm_theme_new();
    if (theme == NULL)
      {
@@ -112,7 +112,7 @@ START_TEST(utc_elm_theme_data_get_n_01)
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, returned value is NULL..", __FILE__, __LINE__);
         return;
      }
-   elm_theme_overlay_del(NULL, "./theme_with_data.edj");
+   elm_theme_overlay_del(NULL, "./theme/theme_with_data.edj");
    printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
 }
 END_TEST
index 438b3554b779245a63edc5e4a294f5e9d513d57b..c2507be47b17b045a77b51a0cf7be22de657f79c 100644 (file)
@@ -32,13 +32,13 @@ teardown(void)
  * works properly and doesn't cause segmentation fault
  * @n Input Data:
  * @li NULL as the default theme
- * @li "./theme_example.edj" as path to edje file
+ * @li "./theme/theme_example.edj" as path to edje file
  *
  * @procedure
  * @step 1 Call elm_theme_extension_add() with NULL theme pointer as default theme and path to
  * extension (.edj file)
  *
- * @passcondition "./theme_example.edj" exists in extensions list and there is no segmentation fault
+ * @passcondition "./theme/theme_example.edj" exists in extensions list and there is no segmentation fault
  * @}
  */
 START_TEST(utc_elm_theme_extension_add_p)
@@ -47,7 +47,7 @@ START_TEST(utc_elm_theme_extension_add_p)
    const Eina_List *l = NULL;
    void *list_data = NULL;
 
-   elm_theme_extension_add(NULL, "./theme_example.edj");
+   elm_theme_extension_add(NULL, "./theme/theme_example.edj");
    /*TODO write test for elm_theme_extension_list_get*/
    list = elm_theme_extension_list_get(NULL);
    if (list == NULL)
@@ -57,7 +57,7 @@ START_TEST(utc_elm_theme_extension_add_p)
      }
    EINA_LIST_FOREACH(list, l, list_data)
    {
-      if (strcmp("./theme_example.edj", (const char*) list_data) == 0)
+      if (strcmp("./theme/theme_example.edj", (const char*) list_data) == 0)
         {
            printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
            return;
@@ -86,7 +86,7 @@ END_TEST
 START_TEST(utc_elm_theme_extension_add_n)
 {
    CREATE_CHECKED_ARGS_ARRAY(0, 1);
-   UNITEST_FUNC_NEG_CA(elm_theme_extension_add, NULL, "./theme_example.edj");
+   UNITEST_FUNC_NEG_CA(elm_theme_extension_add, NULL, "./theme/theme_example.edj");
    printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
 }
 END_TEST
index cf2d12fbc6f1a7545f693284e74b207bf314e5dd..4e06ddb98afcd34b3fa3f7b419a4852b9b2b0db5 100644 (file)
@@ -32,13 +32,13 @@ teardown(void)
  * works properly and doesn't cause segmentation fault
  * @n Input Data:
  * @li NULL as the default theme
- * @li "./theme_example.edj" as path to edje file
+ * @li "./theme/theme_example.edj" as path to edje file
  *
  * @procedure
  * @step 1 Append extension to default theme
  * @step 2 Delete just added theme extension
  *
- * @passcondition "./theme_example.edj" does not exist in extensions list and there is no segmentation fault
+ * @passcondition "./theme/theme_example.edj" does not exist in extensions list and there is no segmentation fault
  * @}
  */
 START_TEST(utc_elm_theme_extension_del_p)
@@ -48,7 +48,7 @@ START_TEST(utc_elm_theme_extension_del_p)
    void *list_data = NULL;
    Eina_Bool theme_found= EINA_FALSE;
 
-   elm_theme_extension_add(NULL, "./theme_example.edj");
+   elm_theme_extension_add(NULL, "./theme/theme_example.edj");
    /*TODO write test for elm_theme_extension_list_get*/
    list = elm_theme_extension_list_get(NULL);
    if (list == NULL)
@@ -58,7 +58,7 @@ START_TEST(utc_elm_theme_extension_del_p)
      }
    EINA_LIST_FOREACH(list, l, list_data)
    {
-      if (strcmp("./theme_example.edj", (const char*) list_data) == 0)
+      if (strcmp("./theme/theme_example.edj", (const char*) list_data) == 0)
         {
            theme_found = EINA_TRUE;
         }
@@ -68,7 +68,7 @@ START_TEST(utc_elm_theme_extension_del_p)
       ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to add a theme extension..", __FILE__, __LINE__);
       return;
    }
-   elm_theme_extension_del(NULL, "./theme_example.edj");
+   elm_theme_extension_del(NULL, "./theme/theme_example.edj");
    /*TODO write test for elm_theme_extension_list_get*/
    list = elm_theme_extension_list_get(NULL);
    //In a case if no extensions presents function return NULL
@@ -80,7 +80,7 @@ START_TEST(utc_elm_theme_extension_del_p)
    //Assume more than one extension presents
    EINA_LIST_FOREACH(list, l, list_data)
    {
-      if (strcmp("./theme_example.edj", (const char*) list_data) == 0)
+      if (strcmp("./theme/theme_example.edj", (const char*) list_data) == 0)
         {
            ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
            return;
index 13def9b5476f2b9d921433275015df932c44973e..5b4b93d90f2fce594c20236bc4c3754c6a04d5fd 100644 (file)
@@ -25,7 +25,7 @@ setup(void)
 
    if (!ecore_file_exists(DEFAULT_THEME_PATH))
      {
-        if (ecore_file_cp("./default.edj", DEFAULT_THEME_PATH))
+        if (ecore_file_cp("./theme/default.edj", DEFAULT_THEME_PATH))
           {
              is_default_added = EINA_TRUE;
           }
index 90ebbe8980fcc54faf3fda910d6387f2e481dfa8..e6891db48ed65e19cffcc7e33312aa5de3e5997e 100644 (file)
@@ -31,7 +31,7 @@ setup(void)
    evas_object_resize(main_win, 400, 400);
    evas_object_show(main_win);
 
-   file = eina_file_open("./theme_example.edj", EINA_FALSE);
+   file = eina_file_open("./theme/theme_example.edj", EINA_FALSE);
    if (!file)
     {
        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
index c2285d038c38faeeaa79eb60735dbdef9ad09c88..80ee14eb563e204c8bbb99267ee8d0b21983a86f 100644 (file)
@@ -24,7 +24,7 @@ setup(void)
 
    if (!ecore_file_exists(DEFAULT_THEME_PATH))
      {
-        if (ecore_file_cp("./default.edj", DEFAULT_THEME_PATH))
+        if (ecore_file_cp("./theme/default.edj", DEFAULT_THEME_PATH))
           {
              is_default_added = EINA_TRUE;
           }
@@ -76,8 +76,8 @@ START_TEST(utc_elm_theme_full_flush_p_01)
    Elm_Theme * theme_test = elm_theme_new();
 
 
-   elm_theme_extension_add(theme, "./theme_example.edj");
-   elm_theme_extension_add(theme_test, "./theme_example.edj");
+   elm_theme_extension_add(theme, "./theme/theme_example.edj");
+   elm_theme_extension_add(theme_test, "./theme/theme_example.edj");
 
    if ((theme == NULL) || (theme_test == NULL))
      {
index 481e726e286a9c9fc8f10eca917fa9681c7b9b2e..e0fb00614ebcc6bc254eef6475ac532a6f8b3eb6 100644 (file)
@@ -25,7 +25,7 @@ setup(void)
 
    if (!ecore_file_exists(DEFAULT_THEME_PATH))
      {
-        if (ecore_file_cp("./default.edj", DEFAULT_THEME_PATH))
+        if (ecore_file_cp("./theme/default.edj", DEFAULT_THEME_PATH))
           {
              is_default_added = EINA_TRUE;
           }
@@ -100,7 +100,7 @@ END_TEST
  * @step 1 Set path to edj. file for created theme
  * @step 2 Get the theme search order for the theme object
  *
- * @passcondition Returned string contains "./theme_example.edj:default" and there is no segmentation fault
+ * @passcondition Returned string contains "./theme/theme_example.edj:default" and there is no segmentation fault
  * @}
  */
 START_TEST(utc_elm_theme_get_p2)
@@ -111,14 +111,14 @@ START_TEST(utc_elm_theme_get_p2)
      {
         return;
      }
-   elm_theme_set(theme, "./theme_example.edj");
+   elm_theme_set(theme, "./theme/theme_example.edj");
    themeorder = elm_theme_get(theme);
    if (themeorder == NULL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, returned value is NULL..", __FILE__, __LINE__);
         return;
      }
-   if (strcmp(themeorder, "./theme_example.edj:default") != 0)
+   if (strcmp(themeorder, "./theme/theme_example.edj:default") != 0)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, incorrect theme name has received..", __FILE__, __LINE__);
         return;
index 04bbcdd2559ae166d8502932b0fedd9ad6697c44..2750d9044e338364553920c2f3a552e68b1513dd 100644 (file)
@@ -19,7 +19,7 @@ setup(void)
    printf(" ============ Startup ============ \n");
    UTC_ELM_INIT();
 
-   file = eina_file_open("./theme_example.edj", EINA_FALSE);
+   file = eina_file_open("./theme/theme_example.edj", EINA_FALSE);
    if (!file)
     {
        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
index 1640e0e67c3644e8c8b754ca377e0dd27eb22dea..66ee6ba2bef15882a61ff7272443aa17f9b5bae2 100644 (file)
@@ -19,7 +19,7 @@ setup(void)
    printf(" ============ Startup ============ \n");
    UTC_ELM_INIT();
 
-   file = eina_file_open("./theme_example.edj", EINA_FALSE);
+   file = eina_file_open("./theme/theme_example.edj", EINA_FALSE);
    if (!file)
     {
        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
index aa2334ed037c61e81d10261708bc2e11b67c3fe1..4e3e6d00ea507775d712bcf0e81229db0768b7ff 100644 (file)
@@ -25,7 +25,7 @@ setup(void)
 
    if (!ecore_file_exists(DEFAULT_THEME_PATH))
      {
-        if (ecore_file_cp("./default.edj", DEFAULT_THEME_PATH))
+        if (ecore_file_cp("./theme/default.edj", DEFAULT_THEME_PATH))
           {
              is_default_added = EINA_TRUE;
           }
index 82296f543dee250b4d7e70b321788b314224441a..8ae5d738b4ebbad6d0f741b521d26ba34c0c412b 100644 (file)
@@ -31,7 +31,7 @@ teardown(void)
  * @objective Positive test case checks if getting path for given .edj file works properly
  * and doesn't cause segmentation fault
  * @n Input Data:
- * @li "./theme_example.edj" as theme element name
+ * @li "./theme/theme_example.edj" as theme element name
  * @li valid pointer to Eina_Bool
  *
  * @procedure
@@ -45,7 +45,7 @@ START_TEST(utc_elm_theme_list_item_path_get_p)
    char *path = NULL;
    Eina_Bool in_search_path = EINA_FALSE;
 
-   path = elm_theme_list_item_path_get("./theme_example.edj", &in_search_path);
+   path = elm_theme_list_item_path_get("./theme/theme_example.edj", &in_search_path);
    if (path == NULL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
@@ -76,7 +76,7 @@ START_TEST(utc_elm_theme_list_item_path_get_n)
    Eina_Bool in_search_path = EINA_FALSE;
 
    CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA_RET(NULL, elm_theme_list_item_path_get, "./theme_example.edj", &in_search_path)
+   UNITEST_FUNC_NEG_CA_RET(NULL, elm_theme_list_item_path_get, "./theme/theme_example.edj", &in_search_path)
    if (result_of_testing == TEST_FAIL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
@@ -92,7 +92,7 @@ END_TEST
  * @objective Negative test case if getting path of NULL pointer instead of in_search_parameter works properly
  * and doesn't cause segmentation fault
  * @n Input Data:
- * @li "./theme_example.edj"
+ * @li "./theme/theme_example.edj"
  * @li NULL instead of the in_search_parameter parameter
  *
  * @procedure
@@ -105,7 +105,7 @@ START_TEST(utc_elm_theme_list_item_path_get_n2)
 {
    char *path = NULL;
 
-   path = elm_theme_list_item_path_get("./theme_example.edj", NULL);
+   path = elm_theme_list_item_path_get("./theme/theme_example.edj", NULL);
    if (path == NULL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
index c5ca6d7e5dc798171f04d5eb99b4eb1ff914477b..a6669887733aac6ce97bc8f89c8e822cdc73eae8 100644 (file)
@@ -23,7 +23,7 @@ setup(void)
 
    if (!ecore_file_exists(DEFAULT_THEME_PATH))
      {
-        if (ecore_file_cp("./default.edj", DEFAULT_THEME_PATH))
+        if (ecore_file_cp("./theme/default.edj", DEFAULT_THEME_PATH))
           {
              is_default_added = EINA_TRUE;
           }
index 47f3e7ec322aef549b568705561ec436a6517bab..5958349bd3789a83b547b6145135d35b25ba28b6 100644 (file)
@@ -22,7 +22,7 @@ setup(void)
 
    if (!ecore_file_exists(DEFAULT_THEME_PATH))
      {
-        if (ecore_file_cp("./default.edj", DEFAULT_THEME_PATH))
+        if (ecore_file_cp("./theme/default.edj", DEFAULT_THEME_PATH))
           {
              is_default_added = EINA_TRUE;
           }
index 37fd30a3ba266219ac6725b08642c55a61d44d00..0474d2c01ba1646a00950f0971e673e9a0dbd7da 100644 (file)
@@ -31,7 +31,7 @@ teardown(void)
  * @objective Positive test case checks if prepending overlay for default theme doesn't cause segmentation fault
  * @n Input Data:
  * @li NULL as the default theme
- * @li "./theme_example.edj" as path to edje file
+ * @li "./theme/theme_example.edj" as path to edje file
  *
  * @procedure
  * @step 1 Prepend an overlay to the list of overlays of default theme
@@ -41,7 +41,7 @@ teardown(void)
  */
 START_TEST(utc_elm_theme_overlay_add_p)
 {
-   elm_theme_overlay_add(NULL, "./theme_example.edj");
+   elm_theme_overlay_add(NULL, "./theme/theme_example.edj");
    printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
 }
 END_TEST
@@ -63,7 +63,7 @@ END_TEST
 START_TEST(utc_elm_theme_overlay_add_n)
 {
    CREATE_CHECKED_ARGS_ARRAY(0, 1);
-   UNITEST_FUNC_NEG_CA(elm_theme_overlay_add, NULL, "./theme_example.edj");
+   UNITEST_FUNC_NEG_CA(elm_theme_overlay_add, NULL, "./theme/theme_example.edj");
    printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
 }
 END_TEST
index fc6f98717029b324f1890c039e3439dc24242d5a..47d524d11a2661f537601270502efb3c1a965d06 100644 (file)
@@ -31,11 +31,11 @@ teardown(void)
  * @objective Positive test case checks if deleting existing overlay doesn't cause segmentation fault
  * @n Input Data:
  * @li NULL as default theme
- * @li "./theme_example.edj" string
+ * @li "./theme/theme_example.edj" string
  *
  * @procedure
- * @step 1 Add "./theme_example.edj" overlay to default theme
- * @step 2 Delete "./theme_example.edj" overlay from default theme
+ * @step 1 Add "./theme/theme_example.edj" overlay to default theme
+ * @step 2 Delete "./theme/theme_example.edj" overlay from default theme
  *
  * @passcondition There is no segmentation fault
  * @}
@@ -44,14 +44,14 @@ START_TEST(utc_elm_theme_overlay_del_p)
 {
    const Eina_List *list = NULL;
 
-   elm_theme_overlay_add(NULL, "./theme_example.edj");
+   elm_theme_overlay_add(NULL, "./theme/theme_example.edj");
    list = elm_theme_overlay_list_get(NULL);
    if (list == NULL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to add an list to overlay..", __FILE__, __LINE__);
         return;
      }
-   elm_theme_overlay_del(NULL, "./theme_example.edj");
+   elm_theme_overlay_del(NULL, "./theme/theme_example.edj");
    list = elm_theme_overlay_list_get(NULL);
    if (list != NULL)
      {
@@ -100,7 +100,7 @@ END_TEST
 START_TEST(utc_elm_theme_overlay_del_n2)
 {
    CREATE_CHECKED_ARGS_ARRAY(0, 1);
-   UNITEST_FUNC_NEG_CA(elm_theme_overlay_del, NULL, "./theme_example.edj");
+   UNITEST_FUNC_NEG_CA(elm_theme_overlay_del, NULL, "./theme/theme_example.edj");
    printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
 }
 END_TEST
index 440fc36175c992a296b818b073e4f35d03f8007b..edfc4464d57a0bf8c6c4334aff9513da2fdd73ca 100644 (file)
@@ -24,7 +24,7 @@ setup(void)
 
    if (!ecore_file_exists(DEFAULT_THEME_PATH))
      {
-        if (ecore_file_cp("./default.edj", DEFAULT_THEME_PATH))
+        if (ecore_file_cp("./theme/default.edj", DEFAULT_THEME_PATH))
           {
              is_default_added = EINA_TRUE;
           }
index fea1047f0d87d234cdefb9343a9117eb9caecfbe..671e598d3cce1c6b7cc7caca91d7d812bd9ef2cd 100644 (file)
@@ -31,7 +31,7 @@ setup(void)
    evas_object_resize(main_win, 400, 400);
    evas_object_show(main_win);
 
-   file = eina_file_open("./theme_example.edj", EINA_FALSE);
+   file = eina_file_open("./theme/theme_example.edj", EINA_FALSE);
    if (!file)
     {
        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
index 898b99d8977bb14797825dfc66b159175dfdc2ac..a30aa8e10c2aa447f5d09d7ad146c9ebbefa9ebf 100644 (file)
@@ -23,7 +23,7 @@ setup(void)
 
    if (!ecore_file_exists(DEFAULT_THEME_PATH))
      {
-        if (ecore_file_cp("./default.edj", DEFAULT_THEME_PATH))
+        if (ecore_file_cp("./theme/default.edj", DEFAULT_THEME_PATH))
           {
              is_default_added = EINA_TRUE;
           }
@@ -51,27 +51,27 @@ teardown(void)
  * and doesn't cause segmentation fault
  * @n Input Data:
  * @li NULL as the default theme
- * @li "./theme_example.edj" as theme search string
+ * @li "./theme/theme_example.edj" as theme search string
  *
  * @procedure
  * @step 1 Set theme search order for default theme
  * @step 2 Get the theme search order
  *
- * @passcondition Returned value is not NULL and equal to ./theme_example.edj:default and there is no segmentation fault
+ * @passcondition Returned value is not NULL and equal to ./theme/theme_example.edj:default and there is no segmentation fault
  * @}
  */
 START_TEST(utc_elm_theme_set_p)
 {
    const char * theme = NULL;
 
-   elm_theme_set(NULL, "./theme_example.edj");
+   elm_theme_set(NULL, "./theme/theme_example.edj");
    theme = elm_theme_get(NULL);
    if (theme == NULL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, returned value is NULL..", __FILE__, __LINE__);
         return;
      }
-   if (strcmp(theme, "./theme_example.edj:default") != 0)
+   if (strcmp(theme, "./theme/theme_example.edj:default") != 0)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, incorrect theme name has received..", __FILE__, __LINE__);
         return;
@@ -97,7 +97,7 @@ END_TEST
 START_TEST(utc_elm_theme_set_n)
 {
    CREATE_CHECKED_ARGS_ARRAY(0, 1);
-   UNITEST_FUNC_NEG_CA(elm_theme_set, NULL, "./theme_example.edj");
+   UNITEST_FUNC_NEG_CA(elm_theme_set, NULL, "./theme/theme_example.edj");
    printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
 }
 END_TEST
index 373726c1717b4008f3e6cad4236ff7ccbadb0138..aa79ff56524fab376ad29ec1ad9e860699c28026 100644 (file)
@@ -76,10 +76,10 @@ START_TEST(utc_elm_thumb_file_get_p)
      {
         return;
      }
-   elm_thumb_file_set(thumb, "tizen_efl.png", NULL);
+   elm_thumb_file_set(thumb, "./thumb/tizen_efl.png", NULL);
    elm_thumb_file_get(thumb, &file, NULL);
 
-   if (!file || strcmp(file, "tizen_efl.png") != 0)
+   if (!file || strcmp(file, "./thumb/tizen_efl.png") != 0)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
         return;
index 98ce33fc31660b7b83a0a5ea07d3637485b6bf99..05003f372168437f2b176eaa5c3086ef1d52f109 100644 (file)
@@ -76,10 +76,10 @@ START_TEST(utc_elm_thumb_file_set_p)
      {
         return;
      }
-   elm_thumb_file_set(thumb, "tizen_efl.png", NULL);
+   elm_thumb_file_set(thumb, "./thumb/tizen_efl.png", NULL);
    elm_thumb_file_get(thumb, &file, NULL);
 
-   if (!file || strcmp(file, "tizen_efl.png") != 0)
+   if (!file || strcmp(file, "./thumb/tizen_efl.png") != 0)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
         return;
@@ -106,7 +106,7 @@ END_TEST
  */
 START_TEST(utc_elm_thumb_file_set_n)
 {
-   UNITEST_FUNC_NEG(elm_thumb_file_set, thumb, "tizen_efl.png", NULL);
+   UNITEST_FUNC_NEG(elm_thumb_file_set, thumb, "./thumb/tizen_efl.png", NULL);
    printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
 }
 END_TEST
index f828e7492e03e7b89a8be1a66e22395a2d25dff1..8644d5129b818ab97f7087c870a79faf36a0d3f0 100644 (file)
@@ -7,7 +7,7 @@ static Evas_Object *main_win = NULL;
 static Evas_Object *toolbar = NULL;
 Elm_Object_Item *itemNew = NULL;
 
-char* iconToSet = "./tizen_efl.png";
+char* iconToSet = "./toolbar/tizen_efl.png";
 Evas_Object *iconGet = NULL;
 Eina_Bool iconIsSet = EINA_FALSE;
 
@@ -61,7 +61,7 @@ clean(void)
 static Eina_Bool _set_and_quit_timer_cb(void* data)
 {
    Elm_Object_Item *item_set = (Elm_Object_Item *)data;
-   iconIsSet = elm_toolbar_item_icon_file_set(item_set, "./toolbar_image.edj", "tizen_efl");
+   iconIsSet = elm_toolbar_item_icon_file_set(item_set, "./toolbar/toolbar_image.edj", "tizen_efl");
 
    ecore_main_loop_quit();
    return ECORE_CALLBACK_CANCEL;
@@ -121,7 +121,7 @@ END_TEST
  * @procedure
  * @step 1 Creating new window and toolbar.
  * @step 2 Create new toolbar item.
- * @step 3 Set icon file for created item(./tizen_efl.png).
+ * @step 3 Set icon file for created item(./toolbar/tizen_efl.png).
  * @step 4 Get icon file for created item.
  * @step 5 Deleting window and toolbar.
  *
index 91d40a5122fc98cd43f9cb81f15ee66326679c6c..defeb2ef42ce936a3a6058af79fcf4cd9ae8721d 100644 (file)
@@ -45,7 +45,7 @@ setup(void)
         return;
      }
    ecore_evas_init();
-   file = eina_file_open("tizen_efl.png", EINA_FALSE);
+   file = eina_file_open("./toolbar/tizen_efl.png", EINA_FALSE);
 
    if (!file)
      {
index db3a3087e4af8d52fdb69d453f65b697ed8508ce..54e05a71fcceb47bbd0ae4f788b7e4affc57c5a4 100644 (file)
@@ -104,7 +104,7 @@ END_TEST
  * @n Input data:
  * @li toolbar
  * @li toolbar item
- * @li path to existed image file("./tizen_efl.png")
+ * @li path to existed image file("./toolbar/tizen_efl.png")
  * @li "toolbar" as label of the item
  * @li NULL as function to call when the item is clicked
  * @li NULL as data to associate with the item for related callbacks
@@ -128,7 +128,7 @@ START_TEST(utc_UIFW_elm_toolbar_item_insert_after_p_2)
 
    itemNew = elm_toolbar_item_append(toolbar, NULL, "toolbar", NULL, NULL);
    elm_toolbar_item_append(toolbar, NULL, "toolbar", NULL, NULL);
-   nextItem = elm_toolbar_item_insert_after(toolbar, itemNew, "./tizen_efl.png", "toolbar", NULL, NULL);
+   nextItem = elm_toolbar_item_insert_after(toolbar, itemNew, "./toolbar/tizen_efl.png", "toolbar", NULL, NULL);
 
    if (elm_toolbar_item_next_get(itemNew) != nextItem || nextItem == NULL)
      {
index 4f8fa9ea7ec0b113c5b56fec3a9cbadc260981fb..cee83432b378d82b65cfd21c605f8ecf1dd5ccb3 100644 (file)
@@ -77,7 +77,7 @@ START_TEST(utc_elm_transit_effect_image_animation_add_p)
      {
         return;
      }
-   images = eina_list_append(images, eina_stringshare_add("./tizen_efl.png"));
+   images = eina_list_append(images, eina_stringshare_add("./transit/tizen_efl.png"));
    if (!images)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an image list..", __FILE__, __LINE__);
@@ -117,7 +117,7 @@ START_TEST(utc_elm_transit_effect_image_animation_add_n)
      {
         return;
      }
-   images = eina_list_append(images, eina_stringshare_add("./tizen_efl.png"));
+   images = eina_list_append(images, eina_stringshare_add("./transit/tizen_efl.png"));
    if (!images)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an image list..", __FILE__, __LINE__);
index e48bce7ccb29613adb8094b0ddafd312718b1c38..54846359f987f568dfa2fb12d0447cd77f9e421d 100644 (file)
@@ -2,7 +2,7 @@
 #include <Elementary.h>
 #include "../utc_elm_common.h"
 
-#define MY_VIDEO "./Helicopter.mp4"
+#define MY_VIDEO "./video/Helicopter.mp4"
 static Evas_Object *main_win = NULL, *video = NULL;
 
 /**
index b18b117b18f286ba151dc0ed24aaf9e0a84f179a..bc09eef88e5f317f00e89fd0d2f299a9a8a435be 100644 (file)
@@ -2,7 +2,7 @@
 #include <Elementary.h>
 #include "../utc_elm_common.h"
 
-#define MY_VIDEO "./Helicopter.mp4"
+#define MY_VIDEO "./video/Helicopter.mp4"
 static Evas_Object *main_win = NULL, *video = NULL;
 
 /**
index 1c0572f497f70c1321df3a0432b89b6f6a96ce01..2c0544b526bbab536178a1a35fc8f317cff714c5 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define MY_VIDEO "./Helicopter.mp4"
+#define MY_VIDEO "./video/Helicopter.mp4"
 static Evas_Object *main_win = NULL, *video = NULL;
 
 /**
index 7e806e53fb1d41582a96f9a88acc267fa92ec4f9..a2f9d599b53bb914cc1ca12e99069ebc60bfad16 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define MY_VIDEO "./Helicopter.mp4"
+#define MY_VIDEO "./video/Helicopter.mp4"
 static Evas_Object *main_win = NULL, *video = NULL;
 
 static Eina_Bool ret = EINA_FALSE;
index 2ef9d5f3d3062ffb0598f64735ccc5ddd6c5c6b2..d7f700c6ca7729ef6156167a43d22c57413bd292 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define MY_VIDEO "./Helicopter.mp4"
+#define MY_VIDEO "./video/Helicopter.mp4"
 static Evas_Object *main_win = NULL, *video = NULL;
 
 /**
@@ -56,7 +56,7 @@ teardown(void)
  * URI that will be the video source works properly and without segmentation fault
  * @n Input Data:
  * @li the video object
- * @li "./Helicopter.mp4" as the file to target
+ * @li "./video/Helicopter.mp4" as the file to target
  *
  * @procedure
  * @step 1 Call elm_video_file_set with valid values
index be85bafd74f14476bc1d4c12eceea1d6c4d0ac52..4417bd88d41e220c491df2937909fbb89e129e5e 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define MY_VIDEO "./Helicopter.mp4"
+#define MY_VIDEO "./video/Helicopter.mp4"
 static Evas_Object *main_win = NULL, *video = NULL;
 
 static Eina_Bool ret_while_playing = EINA_FALSE;
index 32bb48dd53187845f72174f283f0004f412cfcf9..ca25caf43ee8b9e8cf0bc38fc11acecb4030315b 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define MY_VIDEO "./Helicopter.mp4"
+#define MY_VIDEO "./video/Helicopter.mp4"
 static Evas_Object *main_win = NULL, *video = NULL;
 
 static Eina_Bool ret_while_playing = EINA_FALSE;
index ca1f1297a8b2b828d34c3b5605e97a459845b043..af5fb299838d8035244a774a757dbc82e0b83504 100644 (file)
@@ -2,7 +2,7 @@
 #include <Elementary.h>
 #include "../utc_elm_common.h"
 
-#define MY_VIDEO "./Helicopter.mp4"
+#define MY_VIDEO "./video/Helicopter.mp4"
 static Evas_Object *main_win = NULL, *video = NULL;
 
 static Eina_Bool is_playing = EINA_FALSE;
index 2fc07d3f77a99bae6635cf0fc33f298f1d8095be..a37d00ae410b67df1f42f89f61dfab224b06339d 100644 (file)
@@ -2,7 +2,7 @@
 #include <Elementary.h>
 #include "../utc_elm_common.h"
 
-#define MY_VIDEO "./Helicopter.mp4"
+#define MY_VIDEO "./video/Helicopter.mp4"
 static Evas_Object *main_win = NULL, *video = NULL;
 static double position = 0.0;
 
index e847dca770f05b2d86234f1b815e40ed242aacb0..04eab15960784aa1128d1266bceec7d46273ef1c 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define MY_VIDEO "./Helicopter.mp4"
+#define MY_VIDEO "./video/Helicopter.mp4"
 static Evas_Object *main_win = NULL, *video = NULL;
 
 /**
index 5913cc9dfbc3d9ad3c5173ae68057ec56edf543c..8aa83c8543c6b0469ab2f02b1cba87c29132f4cc 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define MY_VIDEO "./Helicopter.mp4"
+#define MY_VIDEO "./video/Helicopter.mp4"
 static Evas_Object *main_win = NULL, *video = NULL;
 
 /**
index 0cfe83fd585f5e32859aa6aa8ef4bc041dc826a1..24bf8314ac36e30695126b69722948b7eb9c44c7 100644 (file)
@@ -3,7 +3,7 @@
 #include "../utc_elm_common.h"
 #include "../../utc_negative_unitest.h"
 
-#define MY_VIDEO "./Helicopter.mp4"
+#define MY_VIDEO "./video/Helicopter.mp4"
 static Evas_Object *main_win = NULL, *video = NULL;
 
 static Eina_Bool ret_while_playing = EINA_FALSE;
index 3a2b2a2e8b6ba0a99371ac8dc7ff34669ca52bd6..6778d6aaf5fc8291d6e807e7e19790067d881566 100644 (file)
@@ -20,7 +20,7 @@ setup(void)
    printf(" ============ Startup ============ \n");
    UTC_ELM_INIT();
    main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   elm_theme_extension_add(NULL, "./inwin.edj");
+   elm_theme_extension_add(NULL, "./win/inwin.edj");
    if (main_win == NULL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
index ef0e4b4d9a56b2cd9240ce57c2e717e3186e9adb..bfa1685cb955f0ee64a9b018f265c22d00e72bc5 100644 (file)
@@ -20,7 +20,7 @@ setup(void)
    printf(" ============ Startup ============ \n");
    UTC_ELM_INIT();
    main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   elm_theme_extension_add(NULL, "./inwin.edj");
+   elm_theme_extension_add(NULL, "./win/inwin.edj");
    if (main_win == NULL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
index 4fc779276c80c93b0f3d7ffea3f831039194a57c..0334e7c9fbfec39ebb9619e43184c99dc3c49e20 100644 (file)
@@ -20,7 +20,7 @@ setup(void)
    printf(" ============ Startup ============ \n");
    UTC_ELM_INIT();
    main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   elm_theme_extension_add(NULL, "./inwin.edj");
+   elm_theme_extension_add(NULL, "./win/inwin.edj");
    if (main_win == NULL)
      {
         ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);