1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 02:02:32 +01:00
Commit Graph

319 Commits

Author SHA1 Message Date
Eric Stewart
ddf40dc32d Add tests:
DOMComment::__construct() with constructor called twice.
DOMDocumentFragment::appendXML() with unbound fragment.
DOMDocumentFragment::appendXML() with unbalanced chunks.
DOMDocumentFragment::__construct() called twice.
DOMDocumentType: basic access to all properties.
DOMDocumentType::name with invalid state.
DOMDocumentType::entities with invalid state.
DOMDocumentType::notations with invalid state.
DOMDocumentType::publicId with invalid state.
DOMDocumentType::publicId with empty value.
DOMDocumentType::systemId with invalid state.
DOMDocumentType::systemId with empty value.
DOMDocumentType::internalSubset with invalid state.
2009-05-26 06:06:40 +00:00
Eric Stewart
802706c8a9 Add the following new tests:
DOMCharacterData::appendData() with no arguments.
DOMCharacterData::deleteData() with count exceeding string size.
DOMCharacterData::deleteData() with no arguments.
DOMCharacterData::deleteData() with offset exceeding string size.
DOMCharacterData::insertData() with no arguments.
DOMCharacterData::replaceData() with no arguments.
DOMComment::__construct() with more arguments than acceptable.
DOMDocumentFragment::__construct().
DOMDocumentFragment::__construct() with too many errors.
DOMDocumentFragment::appendXML() with no arguments.
DOMDocumentFragment::appendXML() with children with properties.
2009-05-25 05:58:47 +00:00
Eric Stewart
39d82c35c3 New test: DOMAttr read $name property.
New test: DOMAttr read $ownerElement with null parent.
New test: DOMAttr write non-string $value property
New test: DOMCDATASection __construct() with no arguments.
New test: DOMCharacterData - Invalid State Error when getting data out of content.
2009-05-23 01:43:48 +00:00
Eric Stewart
9f6c828f63 New test: DOMAttr __construct() with no arguments. 2009-05-23 01:34:05 +00:00
Rob Richards
8728f276f9 MFH: fix bug #47849 (Non-deep import loses the namespace)
add test
2009-04-07 15:33:20 +00:00
Rob Richards
e5a211bafc fix bug #47430 (Errors after writing to nodeValue parameter of an absent previousSibling)
add test
2009-03-13 13:41:42 +00:00
Rob Richards
566babac58 MFH: fix bug #47220 (segfault in dom_document_parser in recovery mode) 2009-01-26 19:11:19 +00:00
Sebastian Bergmann
ef49b9a8de MFH: Bump copyright year, 3 of 3. 2008-12-31 11:17:49 +00:00
Zoe Slattery
0f1d65592b re-adding skipifs 2008-12-30 15:36:45 +00:00
Zoe Slattery
f8bcc8c15f removed commented out SKIPIF 2008-12-30 13:06:25 +00:00
Ant Phillips
72e8a2ec60 DOM tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-01 11:29:35 +00:00
Rob Richards
a27ca9810a MFH: fix bug #46406 (Unregistering nodeclass throws E_FATAL) 2008-10-29 21:22:34 +00:00
Rob Richards
6a2fe2ad1a MFH: fix bug #46335 (DOMText::splitText doesn't handle multibyte characters)
add test
2008-10-20 12:46:23 +00:00
Rob Richards
87ddfb9fbd MFH: fix bug #46191 (BC break: DOMDocument saveXML() doesn't accept null) 2008-09-28 12:01:21 +00:00
Rob Richards
842b350891 MFH: fix hints causing phpdoc crash 2008-09-22 15:10:24 +00:00
Rob Richards
77494520a4 MFH: fix bug #46029 (Segfault in DOMText when using with Reflection) 2008-09-10 15:40:34 +00:00
Rob Richards
b3a2fffb83 MFH: fixed bug #45251 (double free or corruption with setAttributeNode())
add test
2008-06-14 11:24:00 +00:00
Ant Phillips
6e79f8f999 DOM tests from TestFest 2008-05-27 12:44:52 +00:00
Antony Dovgal
d01d7450a7 fix test titles 2008-05-14 13:07:17 +00:00
Zoe Slattery
8e23d68942 Committing corrected test from Eric Stewart 2008-05-03 20:34:16 +00:00
David Coallier
ff962d9de1 - MFH . Libxml version < 2.6.21 it fails. Patch from scoates 2008-03-08 19:14:38 +00:00
Sebastian Bergmann
cc0b2dd120 MFH: Add missing Reflection API metadata for DOM classes. 2008-02-04 15:23:11 +00:00
Sebastian Bergmann
410fb2b6d4 MFH: Fix arginfo. 2008-01-30 06:48:20 +00:00
Sebastian Bergmann
fef277ab76 MFH: Add Reflection API metadata for DOMXPath. 2008-01-29 15:55:29 +00:00
Sebastian Bergmann
0c685dc3c0 MFH: Add Reflection API metadata for DOMNode. 2008-01-29 15:23:25 +00:00
Sebastian Bergmann
d9f3a1305f MFH: Bump copyright year, 2 of 2. 2007-12-31 07:20:42 +00:00
Rob Richards
d5afff5286 MFH: Fix bug #43364 (recursive xincludes don't remove internal nodes properly)
add test
2007-11-28 10:45:16 +00:00
Dmitry Stogov
06a116cd53 Fixed tests 2007-11-19 08:01:56 +00:00
Rob Richards
78b2aaa954 MFH: fix bug #42462 (Segmentation when trying to set an attribute in DOMElement) 2007-08-30 16:32:34 +00:00
Rob Richards
9abc90728d MFH: fix bug #42082 (NodeList length zero should be empty). (Hannes)
add and update tests
2007-08-06 16:22:24 +00:00
Ilia Alshanetsky
d3571ea2a9 WS 2007-07-27 00:20:43 +00:00
Ilia Alshanetsky
1bc2880c46 Test name formatting fixes 2007-07-24 14:07:42 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Rob Richards
7d3c91bed3 free wholetext properly 2007-05-14 11:52:35 +00:00
Rob Richards
f42784219a Fixed bug #41374 (wholetext concats values of wrong nodes).
add test
2007-05-14 11:44:15 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Rob Richards
24434e7ba2 fix bug #41257 (lookupNamespaceURI does not work as expected)
fix related issue in isDefaultNamespace
add test
reconcile namespaces when setting attribute in a new namespace
2007-05-04 19:30:59 +00:00
Rob Richards
0291924222 allow registered classes to be changed 2007-04-03 11:57:04 +00:00
Rob Richards
b172d3f8cd MFH: fix bug #40836 (Segfault in ext/dom)
add test
2007-03-18 21:31:05 +00:00
Antony Dovgal
6bef5f8e80 typo in the test name 2007-01-20 19:19:29 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Rob Richards
60941b02dc fix issues identitified by coverity 2006-12-21 12:51:26 +00:00
Antony Dovgal
60a2df7db2 add a note that libxml2 2.6.2x is required 2006-11-13 12:54:04 +00:00
Hannes Magnusson
e94670d4d6 MFH tests 2006-10-09 16:02:34 +00:00
Ilia Alshanetsky
98b16064b4 Added missing safety checks (Problem identified by Coverity scan) 2006-10-07 19:59:19 +00:00
Ilia Alshanetsky
12f7021e12 Added missing safety checks (Problem identified by Coverity scan) 2006-10-07 19:40:58 +00:00
Rob Richards
7a2a383a9f fix bug #39035 (Compatibilty issue between DOM and ze1_compatibility_mode 2006-10-04 12:02:49 +00:00
Rob Richards
2a452afb6d fix some compiler warnings 2006-09-28 10:11:36 +00:00
Rob Richards
b23dfcc3ad fix bug #38949 (Cannot get xmlns value attribute)
add test
2006-09-27 10:31:24 +00:00
Ilia Alshanetsky
9f217cd983 One last expand_filepath() check 2006-09-16 19:07:35 +00:00