svn: /php/php-src/ branches/PHP_5_2/ext/tidy/tests/035.phpt branches/PHP_5_3/ext/tidy/tests/035.phpt trunk/ext/tidy/tests/035.phpt

From: Date: Tue, 29 Dec 2009 16:06:27 +0000
Subject: svn: /php/php-src/ branches/PHP_5_2/ext/tidy/tests/035.phpt branches/PHP_5_3/ext/tidy/tests/035.phpt trunk/ext/tidy/tests/035.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-61441@lists.php.net to get a copy of this message
pierrick Tue, 29 Dec 2009 16:06:27 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=292765 Log: Add a test for tidyNode::__construct() Changed paths: A php/php-src/branches/PHP_5_2/ext/tidy/tests/035.phpt A php/php-src/branches/PHP_5_3/ext/tidy/tests/035.phpt A php/php-src/trunk/ext/tidy/tests/035.phpt Added: php/php-src/branches/PHP_5_2/ext/tidy/tests/035.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/tidy/tests/035.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/tidy/tests/035.phpt 2009-12-29 16:06:27 UTC (rev 292765) @@ -0,0 +1,12 @@ +--TEST-- +tidyNode::__construct() +--SKIPIF-- +<?php + if (!extension_loaded('tidy')) die ('skip tidy not present'); +?> +--FILE-- +<?php +new tidyNode; +?> +--EXPECTF-- +Fatal error: Call to private tidyNode::__construct() from invalid context in %s on line %d Added: php/php-src/branches/PHP_5_3/ext/tidy/tests/035.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/tidy/tests/035.phpt (rev 0) +++ php/php-src/branches/PHP_5_3/ext/tidy/tests/035.phpt 2009-12-29 16:06:27 UTC (rev 292765) @@ -0,0 +1,12 @@ +--TEST-- +tidyNode::__construct() +--SKIPIF-- +<?php + if (!extension_loaded('tidy')) die ('skip tidy not present'); +?> +--FILE-- +<?php +new tidyNode; +?> +--EXPECTF-- +Fatal error: Call to private tidyNode::__construct() from invalid context in %s on line %d Added: php/php-src/trunk/ext/tidy/tests/035.phpt =================================================================== --- php/php-src/trunk/ext/tidy/tests/035.phpt (rev 0) +++ php/php-src/trunk/ext/tidy/tests/035.phpt 2009-12-29 16:06:27 UTC (rev 292765) @@ -0,0 +1,12 @@ +--TEST-- +tidyNode::__construct() +--SKIPIF-- +<?php + if (!extension_loaded('tidy')) die ('skip tidy not present'); +?> +--FILE-- +<?php +new tidyNode; +?> +--EXPECTF-- +Fatal error: Call to private tidyNode::__construct() from invalid context in %s on line %d

« previous php.cvs (#61441) next »