cvs: php-src /ext/fileinfo/tests mime_content_type_001.phpt

From: Date: Mon, 01 Sep 2008 23:41:35 +0000
Subject: cvs: php-src /ext/fileinfo/tests mime_content_type_001.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-52894@lists.php.net to get a copy of this message
felipe Mon Sep 1 23:41:35 2008 UTC Added files: /php-src/ext/fileinfo/tests mime_content_type_001.phpt Log: - New test http://cvs.php.net/viewvc.cgi/php-src/ext/fileinfo/tests/mime_content_type_001.phpt?view=markup&rev=1.1 Index: php-src/ext/fileinfo/tests/mime_content_type_001.phpt +++ php-src/ext/fileinfo/tests/mime_content_type_001.phpt --TEST-- mime_content_type(): Testing wrong parameters --FILE-- <?php mime_content_type(1); mime_content_type(NULL); mime_content_type(new stdclass); mime_content_type(array()); mime_content_type('foo/inexistent'); mime_content_type(''); mime_content_type("\0"); ?> --EXPECTF-- Warning: mime_content_type(): Can only process string or stream arguments in %s on line %d Warning: mime_content_type(): Can only process string or stream arguments in %s on line %d Warning: mime_content_type(): Can only process string or stream arguments in %s on line %d Warning: mime_content_type(): Can only process string or stream arguments in %s on line %d Warning: mime_content_type(foo/inexistent): failed to open stream: No such file or directory in %s on line %d Warning: mime_content_type(): Empty filename or path in %s on line %d Warning: mime_content_type(): Empty filename or path in %s on line %d

« previous php.cvs (#52894) next »