Commit Graph

33 Commits

Author SHA1 Message Date
Pierrick Charron
eac3e3e4a4 Add a test for tidyNode::__construct() 2009-12-29 16:06:27 +00:00
Pierrick Charron
832eb472c5 Changed tidyNode class to disallow manual node creation. 2009-12-25 21:24:36 +00:00
Pierrick Charron
3cc801b9b0 Fixed bug #50558 (Broken object model when extending tidy) 2009-12-25 01:35:57 +00:00
Patrick Allaert
74560ac75e Merging last tests made in HEAD 2009-09-01 13:41:18 +00:00
Zoe Slattery
467dbf859a test for /ext/tidy from stefan priebsch 2009-03-16 20:38:19 +00:00
Felipe Pena
857959838f - Fixed tests 2009-01-09 02:11:54 +00:00
Nuno Lopes
fa0efe45e0 fix crash when fetching a node type that doesnt exist
# reported in a manual user note
2007-09-20 22:25:06 +00:00
Ilia Alshanetsky
44aefd1ea0 Fixed test to work with new version of libtidy that strips spaces 2007-02-24 15:35:04 +00:00
Nuno Lopes
8b9f475ac6 merge the tidyNode::getParent() patch from HEAD 2007-02-11 16:07:30 +00:00
Nuno Lopes
a2b7b84685 add test 2007-01-23 19:26:24 +00:00
Nuno Lopes
65975bfc15 new tests. bump code coverage to 81% 2007-01-20 12:50:19 +00:00
Nuno Lopes
aa6593f984 sync code and tests between HEAD and PHP_5_2 branches. what a confusion... 2006-09-05 15:23:26 +00:00
Nuno Lopes
dc8895ed82 finish the cleaning. also add a new test 2006-09-05 14:55:56 +00:00
Antony Dovgal
434d5e9be4 MFH: fix leak, add test 2006-08-30 22:34:48 +00:00
Michael Wallner
a329ecd8c4 fix bug #34965 tidy is not binary safe 2005-10-25 18:04:59 +00:00
foobar
b543778fed fix tests 2005-04-02 22:57:42 +00:00
Ilia Alshanetsky
46745e31ed This test is conditional on the libTidy library. On some configurations
tidy crashes due to a bug in the lib.
2004-11-30 00:01:30 +00:00
Dmitry Stogov
c6fad655a0 Tests were fixed. 2004-11-22 15:12:32 +00:00
Ilia Alshanetsky
d5bac133ee Return FALSE when file cannot be found.
Specify full paths to the files used for the test.
2004-09-26 19:24:18 +00:00
Marcus Boerger
d94136fc30 - Remove unused blocks 2004-05-19 08:45:46 +00:00
John Coggeshall
399022f3c5 Renamed tidy_node to tidyNode, removed the tidy_exception class and updated
the tests.
2004-05-09 14:00:14 +00:00
Ilia Alshanetsky
be901ebeaf Fixed test. 2004-04-25 16:50:47 +00:00
John Coggeshall
544cdffd90 Fixing a tidy_getopt() bug, and converting all exceptions to E_WARNING 2004-04-18 07:58:19 +00:00
John Coggeshall
fac5939f42 Updating tests that got left behind when we changed to studlyCaps
and fixed another test
2004-02-05 01:38:59 +00:00
John Coggeshall
0878fa901f Doh.. snuck by me! 2004-01-14 06:57:51 +00:00
John Coggeshall
a06377c32d Forgot to add these tests 2004-01-14 06:57:23 +00:00
John Coggeshall
6048907029 With the approval of Andi, changing the Tidy API to reduce the possible
amount of confusion when setting Tidy configuration options. All
configuration must now be done pre-parsing of the document. Removed
references to the tidy_attr class, as it is no longer used (since tidy 2.0)
and made tidy throw exceptions for all truly non-fatal errors.
2004-01-14 02:43:33 +00:00
John Coggeshall
d900d73763 Added an optional array parameter to tidy_parse_file/string to
fix a bug. Apparently some libtidy config options must be set
prior to parsing in order to work properly.
2004-01-06 18:24:17 +00:00
John Coggeshall
4ddb3d194d Added examples for tidy v2.0 (in PHP5) and a few more tests.. 2004-01-03 05:23:24 +00:00
Ilia Alshanetsky
9f50065edd Fixed tidy tests. 2003-12-19 14:24:04 +00:00
John Coggeshall
d8eeb8e286 Updated test cases and examples and cleaned up the new OO code so it will
be easier to maintain.
2003-09-22 18:40:38 +00:00
John Coggeshall
a8356a0dc6 Keeping up with ZE changes to the function struct, fixed tests 2003-08-06 21:32:46 +00:00
John Coggeshall
2fb97cdf95 Adding the tidy extension to PECL 2003-08-01 00:22:43 +00:00