cvs: php4 /ext/standard/tests/image getimagesize.phpt test13pix.swf test4pix.swf
| From: | Ilia Alshanetsky | Date: | Thu, 07 Nov 2002 16:38:57 +0000 |
| Subject: | cvs: php4 /ext/standard/tests/image getimagesize.phpt test13pix.swf test4pix.swf | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15880@lists.php.net to get a copy of this message | ||
iliaa Thu Nov 7 11:38:57 2002 EDT
Added files:
/php4/ext/standard/tests/image test13pix.swf test4pix.swf
Modified files:
/php4/ext/standard/tests/image getimagesize.phpt
Log:
Added swf and swc (compressed swf) test cases and added 'bits' portion to
the expected bmp test results.
Index: php4/ext/standard/tests/image/getimagesize.phpt
diff -u php4/ext/standard/tests/image/getimagesize.phpt:1.1
php4/ext/standard/tests/image/getimagesize.phpt:1.2
--- php4/ext/standard/tests/image/getimagesize.phpt:1.1 Sun Nov 3 08:52:45 2002
+++ php4/ext/standard/tests/image/getimagesize.phpt Thu Nov 7 11:38:57 2002
@@ -23,10 +23,23 @@
var_dump($result);
?>
--EXPECT--
-array(9) {
- ["test1pix.bmp"]=>
+array(11) {
+ ["test13pix.swf"]=>
array(5) {
[0]=>
+ int(550)
+ [1]=>
+ int(400)
+ [2]=>
+ int(13)
+ [3]=>
+ string(24) "width="550" height="400""
+ ["mime"]=>
+ string(29) "application/x-shockwave-flash"
+ }
+ ["test1pix.bmp"]=>
+ array(6) {
+ [0]=>
int(1)
[1]=>
int(1)
@@ -34,6 +47,8 @@
int(6)
[3]=>
string(20) "width="1" height="1""
+ ["bits"]=>
+ int(24)
["mime"]=>
string(9) "image/bmp"
}
@@ -144,6 +159,19 @@
["mime"]=>
string(9) "image/psd"
}
+ ["test4pix.swf"]=>
+ array(5) {
+ [0]=>
+ int(550)
+ [1]=>
+ int(400)
+ [2]=>
+ int(4)
+ [3]=>
+ string(24) "width="550" height="400""
+ ["mime"]=>
+ string(29) "application/x-shockwave-flash"
+ }
["test4pix.tif"]=>
array(5) {
[0]=>
@@ -157,4 +185,4 @@
["mime"]=>
string(10) "image/tiff"
}
-}
\ No newline at end of file
+}
Index: php4/ext/standard/tests/image/test13pix.swf
+++ php4/ext/standard/tests/image/test13pix.swf
CWSa x«`
gà_ÀÀÀÃÈàÌôÿÿÿý³*Kv+¼ôcaH;ÃpÆ8áÐÆ±OWé11üg !&
Á &lÏ
7÷¦Ë»ÛW¿éÞʵx¯ç,¥=j¦7K³_ä\UÌç6}Ó¯ìI¯ýâûè仸^£pÍÏnÙLÕ̦³æÎb~Î}ææÊ37t0t0Is&A%A¥Ø-¡è<ýL¼@ è¼é¦iÛÖVé|ÑÔ ¥çÃñV²VátëÖ)ÌGTD®pNLvìÙ¡ûVzÄT¦Ê§ÒXloNgíÞu» É,vzÂ6ïûKz¬öb¸°ØíK·«-Ê®îÉBVnñ.FwÔ«7¿tðù¼ß·ôdÜÆ
n½NJ?u-ÕcóÍO¾j'Mæ0\×¶£v{Äfv/MR¼K潸»àʪB'5Ö1(fH¨üqzsè)áÛ;~ÎÌa¸à¶äk²×±ÅQ×;®õ¬ePÛhhveVÞV½×áß½ës¤óöóK"?$37µXÁ/µ\!(?71OÑ!á?P!ÅáAv#g(j¯3|`^èuK¡ ¨@ªéUÃ&9 jæ sxë)¢üS3óÜG¹sÔ3Hͼ¾¨Èf²eNZLKp ê =×=
Index: php4/ext/standard/tests/image/test4pix.swf
+++ php4/ext/standard/tests/image/test4pix.swf
FWSa x _ Cÿÿÿ¿ xQt»
éN fÌ Ì3f ÿf±lÀå«. ÿ ÿ 2=ÎVªÙDîÛÕö.˵
£½I"¼&5ñ³Á¿Îz\ó@¾Ô¼g}ôA]âÄî^2W)óFkx{x55 [ç [ÌÙ©ÌÙ¤t ÌfÌf $g $sF` ¿ 5f¶x-ô(*.Lí} Ë
µ@Ä$Ô cA¸-í´HyåÀ=ÙºÎ@Ä$Ô cA¸-í´PyåÀ>.P<ïtä«J УFÞE=
$
:F_D 2Ýap'{³é@Ló¿MuÉ^¡F 5gÊÖeH´ÙòM&É4 ×/æ¸}·X³
JL²ph¥ÁnèÝ ÔªÀÉ(® #pÉS yøË³U hÛ¸ùl ÐNV¤Ò,cJÆp£Z×Ö &±16À *nµ.ëW÷Kmo@¿ Times
New
RomanH P ÿ XJ àk fÌ× ð ¡JÚ Æ:ÿ hQ fÌþ\âmà ×¢ É8`@