Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/image Modified Files: ewl_image_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/image/ewl_image_test.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_image_test.c 4 Dec 2007 05:28:00 -0000 1.1 +++ ewl_image_test.c 8 Dec 2007 06:43:09 -0000 1.2 @@ -374,7 +374,7 @@ t = ewl_image_file_path_get(EWL_IMAGE(o)); if (strcmp(t, "/invalid/path")) - snprintf(buf, len, "path_get did not match path_set."); + LOG_FAILURE(buf, len, "path_get did not match path_set."); else ret = 1; @@ -393,7 +393,7 @@ ewl_image_scale_get(EWL_IMAGE(o), &sw, &sh); if (sw != 2.0 || sh != 2.0) - snprintf(buf, len, "scale_get did not match scale_set."); + LOG_FAILURE(buf, len, "scale_get did not match scale_set."); else ret = 1; @@ -412,7 +412,7 @@ ewl_image_size_get(EWL_IMAGE(o), &sw, &sh); if (sw != 2 || sh != 2) - snprintf(buf, len, "size_get did not match size_set."); + LOG_FAILURE(buf, len, "size_get did not match size_set."); else ret = 1; @@ -431,7 +431,7 @@ sw = ewl_image_constrain_get(EWL_IMAGE(o)); if (sw != 2) - snprintf(buf, len, "scale_get did not match scale_set."); + LOG_FAILURE(buf, len, "scale_get did not match scale_set."); 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