Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

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


Modified Files:
        ewl_filepicker_test.c 


Log Message:
- convert most of the unit tests to LOG_FAILURE. rest will be converted by
  RbdPngn in a separate commit

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/filepicker/ewl_filepicker_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_filepicker_test.c       4 Dec 2007 05:27:59 -0000       1.1
+++ ewl_filepicker_test.c       8 Dec 2007 06:43:08 -0000       1.2
@@ -157,7 +157,7 @@
        t = ewl_filepicker_directory_get(EWL_FILEPICKER(fp));
 
        if (strcmp(t, "/tmp"))
-               snprintf(buf, len, "directory_get did not match "
+               LOG_FAILURE(buf, len, "directory_get did not match "
                                                "directory_set %s", t);
        else
                ret = 1;
@@ -182,7 +182,7 @@
        {
                if (strcmp(rez[i], t))
                {
-                       snprintf(buf, len, "path list not setup correctly. "
+                       LOG_FAILURE(buf, len, "path list not setup correctly. "
                                        "[%s didn't match %s]", t, rez[i]);
                        ret = 0;
                        break;



-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to