dmitry          Tue Jun 24 06:25:51 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/gd/tests       image_type_to_mime_type_error.phpt 
                                image_type_to_mime_type_variation1.phpt 
  Log:
  Fixed tests
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/tests/image_type_to_mime_type_error.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/gd/tests/image_type_to_mime_type_error.phpt
diff -u php-src/ext/gd/tests/image_type_to_mime_type_error.phpt:1.1.2.1 
php-src/ext/gd/tests/image_type_to_mime_type_error.phpt:1.1.2.2
--- php-src/ext/gd/tests/image_type_to_mime_type_error.phpt:1.1.2.1     Tue Jun 
10 18:29:48 2008
+++ php-src/ext/gd/tests/image_type_to_mime_type_error.phpt     Tue Jun 24 
06:25:51 2008
@@ -25,11 +25,11 @@
 
 -- Testing image_type_to_mime_type() function with Zero arguments --
 
-Warning: Wrong parameter count for image_type_to_mime_type() in %s on line %d
-bool(false)
+Warning: image_type_to_mime_type() expects exactly 1 parameter, 0 given in 
%simage_type_to_mime_type_error.php on line 13
+NULL
 
 -- Testing image_type_to_mime_type() function with more than expected no. of 
arguments --
 
-Warning: Wrong parameter count for image_type_to_mime_type() in %s on line %d
-bool(false)
+Warning: image_type_to_mime_type() expects exactly 1 parameter, 2 given in 
%simage_type_to_mime_type_error.php on line 17
+NULL
 ===DONE===
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/tests/image_type_to_mime_type_variation1.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/gd/tests/image_type_to_mime_type_variation1.phpt
diff -u php-src/ext/gd/tests/image_type_to_mime_type_variation1.phpt:1.1.2.1 
php-src/ext/gd/tests/image_type_to_mime_type_variation1.phpt:1.1.2.2
--- php-src/ext/gd/tests/image_type_to_mime_type_variation1.phpt:1.1.2.1        
Fri Jun 13 13:49:40 2008
+++ php-src/ext/gd/tests/image_type_to_mime_type_variation1.phpt        Tue Jun 
24 06:25:51 2008
@@ -92,10 +92,14 @@
 string(24) "application/octet-stream"
 
 -- Iteration 6 --
-string(24) "application/octet-stream"
+
+Warning: image_type_to_mime_type() expects parameter 1 to be long, array given 
in %s on line %d
+NULL
 
 -- Iteration 7 --
-string(9) "image/gif"
+
+Warning: image_type_to_mime_type() expects parameter 1 to be long, array given 
in %s on line %d
+NULL
 
 -- Iteration 8 --
 string(24) "application/octet-stream"
@@ -116,19 +120,29 @@
 string(24) "application/octet-stream"
 
 -- Iteration 14 --
-string(24) "application/octet-stream"
+
+Warning: image_type_to_mime_type() expects parameter 1 to be long, string 
given in %s on line %d
+NULL
 
 -- Iteration 15 --
-string(24) "application/octet-stream"
+
+Warning: image_type_to_mime_type() expects parameter 1 to be long, string 
given in %s on line %d
+NULL
 
 -- Iteration 16 --
-string(24) "application/octet-stream"
+
+Warning: image_type_to_mime_type() expects parameter 1 to be long, string 
given in %s on line %d
+NULL
 
 -- Iteration 17 --
-string(24) "application/octet-stream"
+
+Warning: image_type_to_mime_type() expects parameter 1 to be long, string 
given in %s on line %d
+NULL
 
 -- Iteration 18 --
-string(9) "image/gif"
+
+Warning: image_type_to_mime_type() expects parameter 1 to be long, object 
given in %s on line %d
+NULL
 
 -- Iteration 19 --
 string(24) "application/octet-stream"



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

Reply via email to