ericstewart Sat May 23 01:32:57 2009 UTC
Added files:
/php-src/ext/dom/tests DOMAttr_construct_error_001.phpt
Log:
New test: DOMAttr __construct() with no arguments.
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMAttr_construct_error_001.phpt?view=markup&rev=1.1
Index: php-src/ext/dom/tests/DOMAttr_construct_error_001.phpt
+++ php-src/ext/dom/tests/DOMAttr_construct_error_001.phpt
--TEST--
DOMAttr __construct() with no arguments.
--CREDITS--
Josh Sweeney <[email protected]>
# TestFest Atlanta 2009-05-14
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$attr = new DOMAttr();
?>
--EXPECTF--
Fatal error: Uncaught exception 'DOMException' with message
'DOMAttr::__construct() expects at least 1 parameter, 0 given' in %s:%d
Stack trace:
#0 %s(%d): DOMAttr->__construct()
#1 {main}
thrown in %s on line %d
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php