dmitry Wed Feb 22 12:15:09 2006 UTC Modified files: /php-src/ext/spl/tests spl_autoload_007.phpt Log: Fixed test file http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/tests/spl_autoload_007.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/spl/tests/spl_autoload_007.phpt diff -u php-src/ext/spl/tests/spl_autoload_007.phpt:1.3 php-src/ext/spl/tests/spl_autoload_007.phpt:1.4 --- php-src/ext/spl/tests/spl_autoload_007.phpt:1.3 Wed Dec 21 22:21:54 2005 +++ php-src/ext/spl/tests/spl_autoload_007.phpt Wed Feb 22 12:15:09 2006 @@ -138,3 +138,84 @@ } ok ===DONE=== +--UEXPECTF-- +unicode(22) "MyAutoLoader::notExist" +Function 'MyAutoLoader::notExist' not found + +unicode(22) "MyAutoLoader::noAccess" +Function 'MyAutoLoader::noAccess' not callable + +unicode(22) "MyAutoLoader::autoLoad" +ok + +unicode(22) "MyAutoLoader::dynaLoad" +Function 'MyAutoLoader::dynaLoad' not callable + +array(2) { + [0]=> + unicode(12) "MyAutoLoader" + [1]=> + unicode(8) "notExist" +} +Passed array does not specify an existing static method + +array(2) { + [0]=> + unicode(12) "MyAutoLoader" + [1]=> + unicode(8) "noAccess" +} +Passed array does not specify a callable static method + +array(2) { + [0]=> + unicode(12) "MyAutoLoader" + [1]=> + unicode(8) "autoLoad" +} +ok + +array(2) { + [0]=> + unicode(12) "MyAutoLoader" + [1]=> + unicode(8) "dynaLoad" +} +Passed array specifies a non static method but no object + +array(2) { + [0]=> + object(MyAutoLoader)#%d (0) { + } + [1]=> + unicode(8) "notExist" +} +Passed array does not specify an existing method + +array(2) { + [0]=> + object(MyAutoLoader)#%d (0) { + } + [1]=> + unicode(8) "noAccess" +} +Passed array does not specify a callable method + +array(2) { + [0]=> + object(MyAutoLoader)#%d (0) { + } + [1]=> + unicode(8) "autoLoad" +} +ok + +array(2) { + [0]=> + object(MyAutoLoader)#%d (0) { + } + [1]=> + unicode(8) "dynaLoad" +} +ok +===DONE===
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php