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
CWSax``g`_*Kv+c`a`H;p8OW11g!& 
&lυ7˻Wʵx,=j7K_\U6}ӯI仸^pnL̦b~}37t0t0Is&A%A-<L@
       
iV|јԠVVt)GTDpNL`v١VzTʧXloNgu,vz6KzbK-BVn.
Fwԫ7t߷dƅnNJ?u-cOj'M0\v{fv/MRK潸ʪB'51(
fHqzs);~akױQ;ePhhveVV߽sK"?$37X/\!(?71Oу!?
P!ŋAv#g(j3|``^uK        @U&9j        sx)S
3Gs3HͼfeNZLKp==
Index: php4/ext/standard/tests/image/test4pix.swf
+++ php4/ext/standard/tests/image/test4pix.swf
FWSax_CxQt 
Nf3ffl.2=VD.˵
I"&5Ώz\@Լg}A]^2W)Fkx{x55[[٩٤tff$g$sF`5fx-(*.L}˅@$
 cA-Hy=ٗΔ@$     cA-Py>.P<tJУFE=
$
:F_D2ap'{@LMu^F5geHـM&4/}X 
JLphnݠԪ(#pS`y˳Uh۸lNV,cJpZ׈֌&16*n.WKm`o@Times
 New RomanHPXJk       fJ:h
Qf\mע8`@


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to