[Refactoring] Removed trailing whitespaces.
[framework/uifw/elementary.git] / TC / elm_ts / index / utc_UIFW_elm_index_item_append_relative_func.c
index 560dfc9..fd8f626 100644 (file)
@@ -55,7 +55,7 @@ static void startup(void)
        tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
        elm_init(0, NULL);
        main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-       evas_object_show(main_win);     
+       evas_object_show(main_win);
 }
 
 static void cleanup(void)
@@ -72,7 +72,7 @@ char *gli_label_get(const void *data, Evas_Object *obj, const char *part)
 {
    char buf[256];
    int j = (int)data;
-   snprintf(buf, sizeof(buf), "%c%c", 
+   snprintf(buf, sizeof(buf), "%c%c",
             'A' + ((j >> 4) & 0xf),
             'a' + ((j     ) & 0xf)
             );
@@ -90,9 +90,9 @@ static void utc_UIFW_elm_index_item_append_relative_func_01(void)
        int i = 0, j = 0;
        const char  *letter = NULL;
        gl = elm_genlist_add(main_win);
-       idx= elm_index_add(main_win);   
+       idx= elm_index_add(main_win);
        evas_object_show(gl);
-       evas_object_show(idx);  
+       evas_object_show(idx);
        itci.item_style     = "default";
        itci.func.label_get = gli_label_get;
        itci.func.icon_get  = NULL;
@@ -107,15 +107,15 @@ static void utc_UIFW_elm_index_item_append_relative_func_01(void)
                }
                if(i==0) it_gl=it;
                j += 2;
-       }       
+       }
         it = elm_genlist_item_append(gl, &itci,(void *)j, NULL, ELM_GENLIST_ITEM_NONE, NULL,NULL);
         char buf[32];
         snprintf(buf, sizeof(buf), "%c", 'A' + ((j >> 3) & 0xf));
         elm_index_item_append_relative(idx, buf, it, it_gl);
        elm_index_item_go(idx, 0);
-        it_idx = elm_index_item_find(idx,(void*)it_gl);        
+        it_idx = elm_index_item_find(idx,(void*)it_gl);
         letter = elm_index_item_letter_get(it_idx);
-        
+
        if((strcmp(letter,"A")&&(strcmp(buf,"K")))) {
                tet_infoline("elm_index_item_append_relative() failed in positive test case");
                tet_result(TET_FAIL);
@@ -135,9 +135,9 @@ static void utc_UIFW_elm_index_item_append_relative_func_02(void)
        Elm_Index_Item *it_idx = NULL;
        int i = 0, j = 0;
        gl = elm_genlist_add(main_win);
-       idx= elm_index_add(main_win);   
+       idx= elm_index_add(main_win);
        evas_object_show(gl);
-       evas_object_show(idx);  
+       evas_object_show(idx);
     itci.item_style     = "default";
     itci.func.label_get = gli_label_get;
     itci.func.icon_get  = NULL;
@@ -153,13 +153,13 @@ static void utc_UIFW_elm_index_item_append_relative_func_02(void)
        if(i==0)
          it_gl=it;
         j += 2;
-    }  
+    }
         it = elm_genlist_item_append(gl, &itci,(void *)j, NULL, ELM_GENLIST_ITEM_NONE, NULL,NULL);
           char buf[32];
         snprintf(buf, sizeof(buf), "%c", 'A' + ((j >> 3) & 0xf));
         elm_index_item_append_relative(NULL, buf, it, it_gl);
                elm_index_item_go(idx, 0);
-        it_idx = elm_index_item_find(idx,(void*)it);   
+        it_idx = elm_index_item_find(idx,(void*)it);
         if(it_idx) {
                        tet_infoline("elm_index_item_append_relative() failed in negative test case");
                        tet_result(TET_FAIL);