sniper Sat Apr 2 17:57:44 2005 EDT Modified files: /php-src/ext/tidy/tests 010.phpt 012.phpt Log: fix tests
http://cvs.php.net/diff.php/php-src/ext/tidy/tests/010.phpt?r1=1.4&r2=1.5&ty=u Index: php-src/ext/tidy/tests/010.phpt diff -u php-src/ext/tidy/tests/010.phpt:1.4 php-src/ext/tidy/tests/010.phpt:1.5 --- php-src/ext/tidy/tests/010.phpt:1.4 Wed May 19 04:45:23 2004 +++ php-src/ext/tidy/tests/010.phpt Sat Apr 2 17:57:42 2005 @@ -12,7 +12,7 @@ ?> --EXPECT-- -object(tidyNode)#2 (5) { +object(tidyNode)#2 (8) { ["value"]=> string(94) "<html> <head> @@ -25,12 +25,18 @@ string(0) "" ["type"]=> int(0) + ["line"]=> + int(1) + ["column"]=> + int(1) + ["proprietary"]=> + bool(false) ["attribute"]=> NULL ["child"]=> array(1) { [0]=> - &object(tidyNode)#3 (6) { + &object(tidyNode)#3 (9) { ["value"]=> string(94) "<html> <head> @@ -43,6 +49,12 @@ string(4) "html" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(1) + ["proprietary"]=> + bool(false) ["id"]=> int(48) ["attribute"]=> @@ -50,7 +62,7 @@ ["child"]=> array(2) { [0]=> - &object(tidyNode)#4 (6) { + &object(tidyNode)#4 (9) { ["value"]=> string(31) "<head> <title></title> @@ -60,6 +72,12 @@ string(4) "head" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(7) + ["proprietary"]=> + bool(false) ["id"]=> int(46) ["attribute"]=> @@ -67,7 +85,7 @@ ["child"]=> array(1) { [0]=> - &object(tidyNode)#5 (6) { + &object(tidyNode)#5 (9) { ["value"]=> string(16) "<title></title> " @@ -75,6 +93,12 @@ string(5) "title" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(57) + ["proprietary"]=> + bool(false) ["id"]=> int(111) ["attribute"]=> @@ -85,7 +109,7 @@ } } [1]=> - &object(tidyNode)#6 (6) { + &object(tidyNode)#6 (9) { ["value"]=> string(49) "<body bgcolor="#FFFFFF" alink="#000000"> </body> @@ -94,6 +118,12 @@ string(4) "body" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(7) + ["proprietary"]=> + bool(false) ["id"]=> int(16) ["attribute"]=> @@ -110,7 +140,7 @@ } } } -object(tidyNode)#2 (6) { +object(tidyNode)#2 (9) { ["value"]=> string(49) "<body bgcolor="#FFFFFF" alink="#000000"> </body> @@ -119,6 +149,12 @@ string(4) "body" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(7) + ["proprietary"]=> + bool(false) ["id"]=> int(16) ["attribute"]=> @@ -131,7 +167,7 @@ ["child"]=> NULL } -object(tidyNode)#2 (6) { +object(tidyNode)#2 (9) { ["value"]=> string(94) "<html> <head> @@ -144,6 +180,12 @@ string(4) "html" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(1) + ["proprietary"]=> + bool(false) ["id"]=> int(48) ["attribute"]=> @@ -151,7 +193,7 @@ ["child"]=> array(2) { [0]=> - &object(tidyNode)#3 (6) { + &object(tidyNode)#3 (9) { ["value"]=> string(31) "<head> <title></title> @@ -161,6 +203,12 @@ string(4) "head" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(7) + ["proprietary"]=> + bool(false) ["id"]=> int(46) ["attribute"]=> @@ -168,7 +216,7 @@ ["child"]=> array(1) { [0]=> - &object(tidyNode)#6 (6) { + &object(tidyNode)#6 (9) { ["value"]=> string(16) "<title></title> " @@ -176,6 +224,12 @@ string(5) "title" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(57) + ["proprietary"]=> + bool(false) ["id"]=> int(111) ["attribute"]=> @@ -186,7 +240,7 @@ } } [1]=> - &object(tidyNode)#4 (6) { + &object(tidyNode)#4 (9) { ["value"]=> string(49) "<body bgcolor="#FFFFFF" alink="#000000"> </body> @@ -195,6 +249,12 @@ string(4) "body" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(7) + ["proprietary"]=> + bool(false) ["id"]=> int(16) ["attribute"]=> @@ -209,7 +269,7 @@ } } } -object(tidyNode)#2 (6) { +object(tidyNode)#2 (9) { ["value"]=> string(31) "<head> <title></title> @@ -219,6 +279,12 @@ string(4) "head" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(7) + ["proprietary"]=> + bool(false) ["id"]=> int(46) ["attribute"]=> @@ -226,7 +292,7 @@ ["child"]=> array(1) { [0]=> - &object(tidyNode)#4 (6) { + &object(tidyNode)#4 (9) { ["value"]=> string(16) "<title></title> " @@ -234,6 +300,12 @@ string(5) "title" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(57) + ["proprietary"]=> + bool(false) ["id"]=> int(111) ["attribute"]=> http://cvs.php.net/diff.php/php-src/ext/tidy/tests/012.phpt?r1=1.5&r2=1.6&ty=u Index: php-src/ext/tidy/tests/012.phpt diff -u php-src/ext/tidy/tests/012.phpt:1.5 php-src/ext/tidy/tests/012.phpt:1.6 --- php-src/ext/tidy/tests/012.phpt:1.5 Wed May 19 04:45:23 2004 +++ php-src/ext/tidy/tests/012.phpt Sat Apr 2 17:57:42 2005 @@ -32,7 +32,7 @@ ?> --EXPECT-- bool(true) -object(tidyNode)#3 (6) { +object(tidyNode)#3 (9) { ["value"]=> string(31) "<head> <title></title> @@ -42,6 +42,12 @@ string(4) "head" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(7) + ["proprietary"]=> + bool(false) ["id"]=> int(46) ["attribute"]=> @@ -49,7 +55,7 @@ ["child"]=> array(1) { [0]=> - &object(tidyNode)#4 (6) { + &object(tidyNode)#4 (9) { ["value"]=> string(16) "<title></title> " @@ -57,6 +63,12 @@ string(5) "title" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(87) + ["proprietary"]=> + bool(false) ["id"]=> int(111) ["attribute"]=> @@ -67,7 +79,7 @@ } } bool(true) -object(tidyNode)#4 (6) { +object(tidyNode)#4 (9) { ["value"]=> string(16) "<title></title> " @@ -75,6 +87,12 @@ string(5) "title" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(87) + ["proprietary"]=> + bool(false) ["id"]=> int(111) ["attribute"]=> @@ -82,7 +100,7 @@ ["child"]=> NULL } -object(tidyNode)#5 (6) { +object(tidyNode)#5 (9) { ["value"]=> string(80) "<body bgcolor="#FFFFFF" alink="#000000"> <b>Hi</b><i>Bye<u>Test</u></i> @@ -92,6 +110,12 @@ string(4) "body" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(7) + ["proprietary"]=> + bool(false) ["id"]=> int(16) ["attribute"]=> @@ -104,13 +128,19 @@ ["child"]=> array(2) { [0]=> - &object(tidyNode)#6 (6) { + &object(tidyNode)#6 (9) { ["value"]=> string(9) "<b>Hi</b>" ["name"]=> string(1) "b" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(43) + ["proprietary"]=> + bool(false) ["id"]=> int(8) ["attribute"]=> @@ -118,13 +148,19 @@ ["child"]=> array(1) { [0]=> - &object(tidyNode)#7 (5) { + &object(tidyNode)#7 (8) { ["value"]=> string(2) "Hi" ["name"]=> string(0) "" ["type"]=> int(4) + ["line"]=> + int(1) + ["column"]=> + int(46) + ["proprietary"]=> + bool(false) ["attribute"]=> NULL ["child"]=> @@ -133,13 +169,19 @@ } } [1]=> - &object(tidyNode)#8 (6) { + &object(tidyNode)#8 (9) { ["value"]=> string(21) "<i>Bye<u>Test</u></i>" ["name"]=> string(1) "i" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(52) + ["proprietary"]=> + bool(false) ["id"]=> int(49) ["attribute"]=> @@ -147,26 +189,38 @@ ["child"]=> array(2) { [0]=> - &object(tidyNode)#9 (5) { + &object(tidyNode)#9 (8) { ["value"]=> string(3) "Bye" ["name"]=> string(0) "" ["type"]=> int(4) + ["line"]=> + int(1) + ["column"]=> + int(55) + ["proprietary"]=> + bool(false) ["attribute"]=> NULL ["child"]=> NULL } [1]=> - &object(tidyNode)#10 (6) { + &object(tidyNode)#10 (9) { ["value"]=> string(11) "<u>Test</u>" ["name"]=> string(1) "u" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(58) + ["proprietary"]=> + bool(false) ["id"]=> int(114) ["attribute"]=> @@ -174,13 +228,19 @@ ["child"]=> array(1) { [0]=> - &object(tidyNode)#11 (5) { + &object(tidyNode)#11 (8) { ["value"]=> string(4) "Test" ["name"]=> string(0) "" ["type"]=> int(4) + ["line"]=> + int(1) + ["column"]=> + int(61) + ["proprietary"]=> + bool(false) ["attribute"]=> NULL ["child"]=> @@ -193,13 +253,19 @@ } } bool(true) -object(tidyNode)#6 (6) { +object(tidyNode)#6 (9) { ["value"]=> string(9) "<b>Hi</b>" ["name"]=> string(1) "b" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(43) + ["proprietary"]=> + bool(false) ["id"]=> int(8) ["attribute"]=> @@ -207,13 +273,19 @@ ["child"]=> array(1) { [0]=> - &object(tidyNode)#7 (5) { + &object(tidyNode)#7 (8) { ["value"]=> string(2) "Hi" ["name"]=> string(0) "" ["type"]=> int(4) + ["line"]=> + int(1) + ["column"]=> + int(46) + ["proprietary"]=> + bool(false) ["attribute"]=> NULL ["child"]=> @@ -222,25 +294,37 @@ } } bool(true) -object(tidyNode)#7 (5) { +object(tidyNode)#7 (8) { ["value"]=> string(2) "Hi" ["name"]=> string(0) "" ["type"]=> int(4) + ["line"]=> + int(1) + ["column"]=> + int(46) + ["proprietary"]=> + bool(false) ["attribute"]=> NULL ["child"]=> NULL } -object(tidyNode)#8 (6) { +object(tidyNode)#8 (9) { ["value"]=> string(21) "<i>Bye<u>Test</u></i>" ["name"]=> string(1) "i" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(52) + ["proprietary"]=> + bool(false) ["id"]=> int(49) ["attribute"]=> @@ -248,26 +332,38 @@ ["child"]=> array(2) { [0]=> - &object(tidyNode)#9 (5) { + &object(tidyNode)#9 (8) { ["value"]=> string(3) "Bye" ["name"]=> string(0) "" ["type"]=> int(4) + ["line"]=> + int(1) + ["column"]=> + int(55) + ["proprietary"]=> + bool(false) ["attribute"]=> NULL ["child"]=> NULL } [1]=> - &object(tidyNode)#10 (6) { + &object(tidyNode)#10 (9) { ["value"]=> string(11) "<u>Test</u>" ["name"]=> string(1) "u" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(58) + ["proprietary"]=> + bool(false) ["id"]=> int(114) ["attribute"]=> @@ -275,13 +371,19 @@ ["child"]=> array(1) { [0]=> - &object(tidyNode)#11 (5) { + &object(tidyNode)#11 (8) { ["value"]=> string(4) "Test" ["name"]=> string(0) "" ["type"]=> int(4) + ["line"]=> + int(1) + ["column"]=> + int(61) + ["proprietary"]=> + bool(false) ["attribute"]=> NULL ["child"]=> @@ -292,25 +394,37 @@ } } bool(true) -object(tidyNode)#9 (5) { +object(tidyNode)#9 (8) { ["value"]=> string(3) "Bye" ["name"]=> string(0) "" ["type"]=> int(4) + ["line"]=> + int(1) + ["column"]=> + int(55) + ["proprietary"]=> + bool(false) ["attribute"]=> NULL ["child"]=> NULL } -object(tidyNode)#10 (6) { +object(tidyNode)#10 (9) { ["value"]=> string(11) "<u>Test</u>" ["name"]=> string(1) "u" ["type"]=> int(5) + ["line"]=> + int(1) + ["column"]=> + int(58) + ["proprietary"]=> + bool(false) ["id"]=> int(114) ["attribute"]=> @@ -318,13 +432,19 @@ ["child"]=> array(1) { [0]=> - &object(tidyNode)#11 (5) { + &object(tidyNode)#11 (8) { ["value"]=> string(4) "Test" ["name"]=> string(0) "" ["type"]=> int(4) + ["line"]=> + int(1) + ["column"]=> + int(61) + ["proprietary"]=> + bool(false) ["attribute"]=> NULL ["child"]=> @@ -333,13 +453,19 @@ } } bool(true) -object(tidyNode)#11 (5) { +object(tidyNode)#11 (8) { ["value"]=> string(4) "Test" ["name"]=> string(0) "" ["type"]=> int(4) + ["line"]=> + int(1) + ["column"]=> + int(61) + ["proprietary"]=> + bool(false) ["attribute"]=> NULL ["child"]=>
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php