[TYPO3-core] RFC #17656: Code cleanup/nobrainer: Unit test fails because of invalid clear.gif

Alexander Stehlik alexander.stehlik at googlemail.com
Fri Feb 18 17:48:08 CET 2011


This is an SVN patch request.

Type: Code cleanup/nobrainer

Bugtracker references:
http://bugs.typo3.org/view.php?id=17656

Branches:
trunk

Problem:
Unit test t3lib_iconWorksTest::imagemakeFixesPermissionsOnNewFiles fails 
because typo3_src/tests/t3lib/fixtures/clear.gif seems to be an invalid 
GIF image.

Solution:
Replace damaged image with the clear.gif from the dummy package.

Notes:
The behaviour for this image is quite strange on my system (Ubuntu 
10.04). I can open the image in GIMP without problems but the eye of 
gnome and the preview in nautilus fails. Eye of gnome complains about a 
missing color table.

imagecreatefromgif return in the unit test returns FALSE but doesn't 
show any error message.

I attached the gif from the dummy package that makes the test green 
again on my system.

Kind regards,
Alex


-------------- next part --------------
A non-text attachment was scrubbed...
Name: clear.gif
Type: image/gif
Size: 46 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110218/561dd9aa/attachment.gif>


More information about the TYPO3-team-core mailing list