From: andy wharmby Date: Fri, 23 Jan 2009 11:18:37 +0000 (+0000) Subject: Fix names of new image files. X-Git-Tag: php-5.4.0alpha1~191^2~4414 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=976fe83053d8a36f610a6204050678c1bb0b184d;p=php Fix names of new image files. --- diff --git a/ext/standard/tests/image/200x100.GIF b/ext/standard/tests/image/200x100.gif similarity index 100% rename from ext/standard/tests/image/200x100.GIF rename to ext/standard/tests/image/200x100.gif diff --git a/ext/standard/tests/image/200x100.JPG b/ext/standard/tests/image/200x100.jpg similarity index 100% rename from ext/standard/tests/image/200x100.JPG rename to ext/standard/tests/image/200x100.jpg diff --git a/ext/standard/tests/image/200x100.PNG b/ext/standard/tests/image/200x100.png similarity index 100% rename from ext/standard/tests/image/200x100.PNG rename to ext/standard/tests/image/200x100.png diff --git a/ext/standard/tests/image/200x100.TIF b/ext/standard/tests/image/200x100.tif similarity index 100% rename from ext/standard/tests/image/200x100.TIF rename to ext/standard/tests/image/200x100.tif diff --git a/ext/standard/tests/image/getimagesize_basic.phpt b/ext/standard/tests/image/getimagesize_basic.phpt index c4b6d28d2b..51e6ba3613 100644 --- a/ext/standard/tests/image/getimagesize_basic.phpt +++ b/ext/standard/tests/image/getimagesize_basic.phpt @@ -9,13 +9,13 @@ Test getimagesize() function : basic functionality $imagetype_filenames = array( // GIF file - "GIF image file" => "200x100.GIF", + "GIF image file" => "200x100.gif", //JPEG file - "JPEG image file" => "200x100.JPG", + "JPEG image file" => "200x100.jpg", //PNG file - "PNG image file" => "200x100.PNG", + "PNG image file" => "200x100.png", //SWF file "SWF image file" => "200x100.swf", @@ -24,7 +24,7 @@ $imagetype_filenames = array( "BMP image file" => "200x100.bmp", //TIFF intel byte order - "TIFF intel byte order image file" => "200x100.TIF", + "TIFF intel byte order image file" => "200x100.tif", //JPC file "JPC image file" => "test1pix.jpc", @@ -36,7 +36,6 @@ $imagetype_filenames = array( "IFF image file" => "test4pix.iff" ); - echo "*** Testing getimagesize() : basic functionality ***\n"; // loop through each element of the array for imagetype @@ -50,7 +49,7 @@ foreach($imagetype_filenames as $key => $filename) { --EXPECTF-- *** Testing getimagesize() : basic functionality *** --- GIF image file (200x100.GIF) -- +-- GIF image file (200x100.gif) -- array(7) { [0]=> int(200) @@ -70,7 +69,7 @@ array(7) { array(0) { } --- JPEG image file (200x100.JPG) -- +-- JPEG image file (200x100.jpg) -- array(7) { [0]=> int(200) @@ -89,10 +88,10 @@ array(7) { } array(1) { [u"APP0"]=> - unicode(14)%sJFIF%s + unicode(14) "JFIF%s" } --- PNG image file (200x100.PNG) -- +-- PNG image file (200x100.png) -- array(6) { [0]=> int(200) @@ -144,7 +143,7 @@ array(6) { array(0) { } --- TIFF intel byte order image file (200x100.TIF) -- +-- TIFF intel byte order image file (200x100.tif) -- array(5) { [0]=> int(200)