john Wed Feb 4 20:39:00 2004 EDT Added files: /php-src/ext/tidy/tests 007.html
Modified files: /php-src/ext/tidy/tests 007.phpt 012.phpt 013.phpt Log: Updating tests that got left behind when we changed to studlyCaps and fixed another test http://cvs.php.net/diff.php/php-src/ext/tidy/tests/007.phpt?r1=1.6&r2=1.7&ty=u Index: php-src/ext/tidy/tests/007.phpt diff -u php-src/ext/tidy/tests/007.phpt:1.6 php-src/ext/tidy/tests/007.phpt:1.7 --- php-src/ext/tidy/tests/007.phpt:1.6 Tue Jan 13 21:43:33 2004 +++ php-src/ext/tidy/tests/007.phpt Wed Feb 4 20:38:59 2004 @@ -6,7 +6,7 @@ tidy.default_config= --FILE-- <?php - $a = new tidy(); + $a = new tidy("ext/tidy/tests/007.html"); echo "Current Value of 'tidy-mark': "; var_dump($a->getopt("tidy-mark")); echo "Current Value of 'error-file': "; http://cvs.php.net/diff.php/php-src/ext/tidy/tests/012.phpt?r1=1.2&r2=1.3&ty=u Index: php-src/ext/tidy/tests/012.phpt diff -u php-src/ext/tidy/tests/012.phpt:1.2 php-src/ext/tidy/tests/012.phpt:1.3 --- php-src/ext/tidy/tests/012.phpt:1.2 Tue Jan 13 21:43:33 2004 +++ php-src/ext/tidy/tests/012.phpt Wed Feb 4 20:38:59 2004 @@ -10,14 +10,14 @@ function dump_nodes(tidy_node $node) { - var_dump($node->has_children()); - if($node->has_children()) { + var_dump($node->hasChildren()); + if($node->hasChildren()) { foreach($node->child as $c) { var_dump($c); - if($c->has_children()) { + if($c->hasChildren()) { dump_nodes($c); http://cvs.php.net/diff.php/php-src/ext/tidy/tests/013.phpt?r1=1.2&r2=1.3&ty=u Index: php-src/ext/tidy/tests/013.phpt diff -u php-src/ext/tidy/tests/013.phpt:1.2 php-src/ext/tidy/tests/013.phpt:1.3 --- php-src/ext/tidy/tests/013.phpt:1.2 Tue Jan 13 21:43:33 2004 +++ php-src/ext/tidy/tests/013.phpt Wed Feb 4 20:38:59 2004 @@ -8,9 +8,9 @@ --FILE-- <?php $tidy = new tidy("ext/tidy/tests/013.html", array("show-body-only"=>true)); - $tidy->clean_repair(); + $tidy->cleanRepair(); echo $tidy; ?> --EXPECT-- -<b>testing</b> \ No newline at end of file +<b>testing</b> http://cvs.php.net/co.php/php-src/ext/tidy/tests/007.html?r=1.1&p=1 Index: php-src/ext/tidy/tests/007.html +++ php-src/ext/tidy/tests/007.html <B>testing</I> -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php