felipe Mon Mar 10 22:17:59 2008 UTC Modified files: (Branch: PHP_5_3) /ZendEngine2/tests 017.phpt /php-src/ext/standard/tests/file clearstatcache_error.phpt get_current_user.phpt /php-src/ext/standard/tests/general_functions rand.phpt /php-src/ext/standard/tests/math getrandmax_error.phpt mt_getrandmax_error.phpt /php-src/ext/xmlwriter/tests bug41326.phpt Log: Fix tests (new error message for void parameters) http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/017.phpt?r1=1.1.2.6&r2=1.1.2.6.2.1&diff_format=u Index: ZendEngine2/tests/017.phpt diff -u ZendEngine2/tests/017.phpt:1.1.2.6 ZendEngine2/tests/017.phpt:1.1.2.6.2.1 --- ZendEngine2/tests/017.phpt:1.1.2.6 Wed Aug 8 06:42:10 2007 +++ ZendEngine2/tests/017.phpt Mon Mar 10 22:17:59 2008 @@ -66,12 +66,12 @@ string(5) "array" int(%d) -Warning: Wrong parameter count for get_defined_functions() in %s on line %d +Warning: get_defined_functions() expects exactly 0 parameters, 1 given in %s on line %d NULL string(5) "array" int(%d) -Warning: Wrong parameter count for get_declared_interfaces() in %s on line %d +Warning: get_declared_interfaces() expects exactly 0 parameters, 1 given in %s on line %d NULL string(5) "array" int(%d) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/clearstatcache_error.phpt?r1=1.1.2.1.2.1&r2=1.1.2.1.2.2&diff_format=u Index: php-src/ext/standard/tests/file/clearstatcache_error.phpt diff -u php-src/ext/standard/tests/file/clearstatcache_error.phpt:1.1.2.1.2.1 php-src/ext/standard/tests/file/clearstatcache_error.phpt:1.1.2.1.2.2 --- php-src/ext/standard/tests/file/clearstatcache_error.phpt:1.1.2.1.2.1 Mon Nov 5 17:43:19 2007 +++ php-src/ext/standard/tests/file/clearstatcache_error.phpt Mon Mar 10 22:17:59 2008 @@ -14,6 +14,6 @@ --EXPECTF-- *** Testing clearstatcache() function: error conditions *** -Warning: Wrong parameter count for clearstatcache() in %s on line %d +Warning: clearstatcache() expects exactly 0 parameters, 1 given in %s on line %d NULL *** Done *** http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/get_current_user.phpt?r1=1.1.2.3&r2=1.1.2.3.2.1&diff_format=u Index: php-src/ext/standard/tests/file/get_current_user.phpt diff -u php-src/ext/standard/tests/file/get_current_user.phpt:1.1.2.3 php-src/ext/standard/tests/file/get_current_user.phpt:1.1.2.3.2.1 --- php-src/ext/standard/tests/file/get_current_user.phpt:1.1.2.3 Wed Feb 21 19:57:15 2007 +++ php-src/ext/standard/tests/file/get_current_user.phpt Mon Mar 10 22:17:59 2008 @@ -9,7 +9,7 @@ echo "Done\n"; ?> --EXPECTF-- -Warning: Wrong parameter count for get_current_user() in %s on line %d +Warning: get_current_user() expects exactly 0 parameters, 1 given in %s on line %d NULL string(%d) %s Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/rand.phpt?r1=1.1.2.2&r2=1.1.2.2.2.1&diff_format=u Index: php-src/ext/standard/tests/general_functions/rand.phpt diff -u php-src/ext/standard/tests/general_functions/rand.phpt:1.1.2.2 php-src/ext/standard/tests/general_functions/rand.phpt:1.1.2.2.2.1 --- php-src/ext/standard/tests/general_functions/rand.phpt:1.1.2.2 Thu Nov 16 13:01:23 2006 +++ php-src/ext/standard/tests/general_functions/rand.phpt Mon Mar 10 22:17:59 2008 @@ -54,10 +54,10 @@ NULL int(%d) -Warning: Wrong parameter count for getrandmax() in %s on line %d +Warning: getrandmax() expects exactly 0 parameters, 1 given in %s on line %d NULL int(%d) -Warning: Wrong parameter count for mt_getrandmax() in %s on line %d +Warning: mt_getrandmax() expects exactly 0 parameters, 1 given in %s on line %d NULL Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/getrandmax_error.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u Index: php-src/ext/standard/tests/math/getrandmax_error.phpt diff -u php-src/ext/standard/tests/math/getrandmax_error.phpt:1.1.2.2 php-src/ext/standard/tests/math/getrandmax_error.phpt:1.1.2.3 --- php-src/ext/standard/tests/math/getrandmax_error.phpt:1.1.2.2 Wed Feb 6 08:44:24 2008 +++ php-src/ext/standard/tests/math/getrandmax_error.phpt Mon Mar 10 22:17:59 2008 @@ -5,5 +5,5 @@ var_dump($biggest_int = getrandmax(true)); ?> --EXPECTF-- -Warning: Wrong parameter count for getrandmax() in %s on line 2 +Warning: getrandmax() expects exactly 0 parameters, 1 given in %s on line 2 NULL http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/mt_getrandmax_error.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u Index: php-src/ext/standard/tests/math/mt_getrandmax_error.phpt diff -u php-src/ext/standard/tests/math/mt_getrandmax_error.phpt:1.1.2.2 php-src/ext/standard/tests/math/mt_getrandmax_error.phpt:1.1.2.3 --- php-src/ext/standard/tests/math/mt_getrandmax_error.phpt:1.1.2.2 Wed Feb 6 08:44:24 2008 +++ php-src/ext/standard/tests/math/mt_getrandmax_error.phpt Mon Mar 10 22:17:59 2008 @@ -5,5 +5,5 @@ var_dump(mt_getrandmax(true)); ?> --EXPECTF-- -Warning: Wrong parameter count for mt_getrandmax() in %s on line 2 +Warning: mt_getrandmax() expects exactly 0 parameters, 1 given in %s on line 2 NULL \ No newline at end of file http://cvs.php.net/viewvc.cgi/php-src/ext/xmlwriter/tests/bug41326.phpt?r1=1.1.2.4.2.2&r2=1.1.2.4.2.3&diff_format=u Index: php-src/ext/xmlwriter/tests/bug41326.phpt diff -u php-src/ext/xmlwriter/tests/bug41326.phpt:1.1.2.4.2.2 php-src/ext/xmlwriter/tests/bug41326.phpt:1.1.2.4.2.3 --- php-src/ext/xmlwriter/tests/bug41326.phpt:1.1.2.4.2.2 Thu Oct 25 13:01:09 2007 +++ php-src/ext/xmlwriter/tests/bug41326.phpt Mon Mar 10 22:17:59 2008 @@ -37,7 +37,7 @@ print $xw->flush(true); ?> --EXPECTF-- -Warning: Wrong parameter count for XMLWriter::endElement() in %s on line %d +Warning: XMLWriter::endElement() expects exactly 0 parameters, 1 given in %s on line %d <?xml version="1.0"?> <test> <foo/>
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php