Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests/check


Modified Files:
        ewl_check_test.c 


Log Message:
- change tabs to spaces (Ewl uses an 8 space indent now instead of a tab)

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/check/ewl_check_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_check_test.c    26 Feb 2008 04:24:11 -0000      1.3
+++ ewl_check_test.c    6 May 2008 20:09:02 -0000       1.4
@@ -1,4 +1,4 @@
-/* vim: set sw=8 ts=8 sts=8 noexpandtab: */
+/* vim: set sw=8 ts=8 sts=8 expandtab: */
 #include "Ewl_Test.h"
 #include "ewl_test_private.h"
 #include "ewl_check.h"
@@ -10,45 +10,45 @@
 static int check_test_new(char *buf, int len);
 
 static Ewl_Unit_Test check_unit_tests[] = {
-               {"check new", check_test_new, NULL, -1, 0},
-               {NULL, NULL, NULL, -1, 0}
-       };
+               {"check new", check_test_new, NULL, -1, 0},
+               {NULL, NULL, NULL, -1, 0}
+        };
 
 void
 test_info(Ewl_Test *test)
 {
-       test->name = "Check";
-       test->tip = "The check class is a basic check\n"
-               "for an undecorated checkbutton.";
-       test->filename = __FILE__;
-       test->type = EWL_TEST_TYPE_UNIT;
-       test->unit_tests = check_unit_tests;
+        test->name = "Check";
+        test->tip = "The check class is a basic check\n"
+               "for an undecorated checkbutton.";
+        test->filename = __FILE__;
+        test->type = EWL_TEST_TYPE_UNIT;
+        test->unit_tests = check_unit_tests;
 }
 
 static int
 check_test_new(char *buf, int len)
 {
-       Ewl_Widget *check;
-       int ret = 0;
+        Ewl_Widget *check;
+        int ret = 0;
 
-       check = ewl_check_new();
+        check = ewl_check_new();
 
-       if (ewl_check_is_checked(EWL_CHECK(check)))
-               LOG_FAILURE(buf, len, "default check state TRUE");
-       else {
-               ewl_check_checked_set(EWL_CHECK(check), TRUE);
-               if (ewl_check_is_checked(EWL_CHECK(check))) {
-                       ewl_check_checked_set(EWL_CHECK(check), FALSE);
-                       if (!ewl_check_is_checked(EWL_CHECK(check)))
-                               ret = 1;
-                       else
-                               LOG_FAILURE(buf, len, "check state TRUE");
-               }
-               else
-                       LOG_FAILURE(buf, len, "check state FALSE");
-       }
+        if (ewl_check_is_checked(EWL_CHECK(check)))
+               LOG_FAILURE(buf, len, "default check state TRUE");
+        else {
+               ewl_check_checked_set(EWL_CHECK(check), TRUE);
+               if (ewl_check_is_checked(EWL_CHECK(check))) {
+                       ewl_check_checked_set(EWL_CHECK(check), FALSE);
+                       if (!ewl_check_is_checked(EWL_CHECK(check)))
+                               ret = 1;
+                       else
+                               LOG_FAILURE(buf, len, "check state TRUE");
+               }
+               else
+                       LOG_FAILURE(buf, len, "check state FALSE");
+        }
 
-       ewl_widget_destroy(check);
+        ewl_widget_destroy(check);
 
-       return ret;
+        return ret;
 }



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to