Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/label Modified Files: ewl_label_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/label/ewl_label_test.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_label_test.c 4 Dec 2007 05:28:01 -0000 1.1 +++ ewl_label_test.c 8 Dec 2007 06:43:09 -0000 1.2 @@ -77,7 +77,7 @@ label = ewl_label_new(); if (ewl_label_text_get(EWL_LABEL(label))) - snprintf(buf, len, "text_get not NULL"); + LOG_FAILURE(buf, len, "text_get not NULL"); else ret = 1; @@ -100,7 +100,7 @@ val = ewl_label_text_get(EWL_LABEL(label)); if (val) - snprintf(buf, len, "text_set_get %s instead of NULL", val); + LOG_FAILURE(buf, len, "text_set_get %s instead of NULL", val); else ret = 1; @@ -122,7 +122,7 @@ val = ewl_label_text_get(EWL_LABEL(label)); if (strcmp(val, "some text")) - snprintf(buf, len, "%s is not 'some text'", val); + LOG_FAILURE(buf, len, "%s is not 'some text'", val); else ret = 1; ------------------------------------------------------------------------- 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