dmitry          Mon Nov 22 10:12:32 2004 EDT

  Modified files:              
    /php-src/ext/tidy/tests     005.phpt 007.phpt 013.phpt 015.phpt 
                                016.phpt 
  Log:
  Tests were fixed.
  
  
http://cvs.php.net/diff.php/php-src/ext/tidy/tests/005.phpt?r1=1.6&r2=1.7&ty=u
Index: php-src/ext/tidy/tests/005.phpt
diff -u php-src/ext/tidy/tests/005.phpt:1.6 php-src/ext/tidy/tests/005.phpt:1.7
--- php-src/ext/tidy/tests/005.phpt:1.6 Wed May 19 04:45:23 2004
+++ php-src/ext/tidy/tests/005.phpt     Mon Nov 22 10:12:32 2004
@@ -4,7 +4,7 @@
 <?php if (!extension_loaded("tidy")) print "skip"; ?>
 --FILE--
 <?php 
-       $a = tidy_parse_file("ext/tidy/tests/005.html");
+       $a = tidy_parse_file(dirname(__FILE__)."/005.html");
        echo tidy_get_output($a);
        
 ?>
http://cvs.php.net/diff.php/php-src/ext/tidy/tests/007.phpt?r1=1.8&r2=1.9&ty=u
Index: php-src/ext/tidy/tests/007.phpt
diff -u php-src/ext/tidy/tests/007.phpt:1.8 php-src/ext/tidy/tests/007.phpt:1.9
--- php-src/ext/tidy/tests/007.phpt:1.8 Sun Apr 18 03:58:19 2004
+++ php-src/ext/tidy/tests/007.phpt     Mon Nov 22 10:12:32 2004
@@ -6,7 +6,7 @@
 tidy.default_config=
 --FILE--
 <?php
-               $a = new tidy("ext/tidy/tests/007.html");
+               $a = new tidy(dirname(__FILE__)."/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/013.phpt?r1=1.4&r2=1.5&ty=u
Index: php-src/ext/tidy/tests/013.phpt
diff -u php-src/ext/tidy/tests/013.phpt:1.4 php-src/ext/tidy/tests/013.phpt:1.5
--- php-src/ext/tidy/tests/013.phpt:1.4 Wed May 19 04:45:23 2004
+++ php-src/ext/tidy/tests/013.phpt     Mon Nov 22 10:12:32 2004
@@ -4,7 +4,7 @@
 <?php if (!extension_loaded("tidy")) print "skip"; ?>
 --FILE--
 <?php
-        $tidy = new tidy("ext/tidy/tests/013.html", 
array("show-body-only"=>true));
+        $tidy = new tidy(dirname(__FILE__)."/013.html", 
array("show-body-only"=>true));
         $tidy->cleanRepair();
         echo $tidy;
 
http://cvs.php.net/diff.php/php-src/ext/tidy/tests/015.phpt?r1=1.2&r2=1.3&ty=u
Index: php-src/ext/tidy/tests/015.phpt
diff -u php-src/ext/tidy/tests/015.phpt:1.2 php-src/ext/tidy/tests/015.phpt:1.3
--- php-src/ext/tidy/tests/015.phpt:1.2 Wed May 19 04:45:23 2004
+++ php-src/ext/tidy/tests/015.phpt     Mon Nov 22 10:12:32 2004
@@ -4,7 +4,7 @@
 <?php if (!extension_loaded("tidy")) print "skip"; ?>
 --FILE--
 <?php
-        $tidy = tidy_parse_file("ext/tidy/tests/015.html", 
array('show-body-only'=>true));
+        $tidy = tidy_parse_file(dirname(__FILE__)."/015.html", 
array('show-body-only'=>true));
        tidy_clean_repair($tidy);
        echo tidy_get_output($tidy);
             
http://cvs.php.net/diff.php/php-src/ext/tidy/tests/016.phpt?r1=1.3&r2=1.4&ty=u
Index: php-src/ext/tidy/tests/016.phpt
diff -u php-src/ext/tidy/tests/016.phpt:1.3 php-src/ext/tidy/tests/016.phpt:1.4
--- php-src/ext/tidy/tests/016.phpt:1.3 Sun Sep 26 15:24:18 2004
+++ php-src/ext/tidy/tests/016.phpt     Mon Nov 22 10:12:32 2004
@@ -4,8 +4,7 @@
 <?php if (!extension_loaded("tidy")) print "skip"; ?>
 --FILE--
 <?php
-       $path = dirname(__FILE__);
-        $tidy = tidy_parse_file("{$path}/016.html", "{$path}/016.tcfg");
+        $tidy = tidy_parse_file(dirname(__FILE__)."/016.html", 
dirname(__FILE__)."/016.tcfg");
        tidy_clean_repair($tidy);
         echo tidy_get_output($tidy);
 ?>

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to