1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 00:48:25 +02:00
Commit Graph

75 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
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 6a2fe2ad1a MFH: fix bug #46335 (DOMText::splitText doesn't handle multibyte characters)
add test
2008-10-20 12:46:23 +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
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 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
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 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
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
Rob Richards b23dfcc3ad fix bug #38949 (Cannot get xmlns value attribute)
add test
2006-09-27 10:31:24 +00:00
Rob Richards 1819e947f9 implement workaround for bug #38823 (DOMComment->appendData does nothing)
fix bug #38850 (lookupNamespaceURI doesn't return default namespace)
add test
2006-09-16 13:54:52 +00:00
Rob Richards c6b9662372 fix #38474 (getAttribute select attribute by order, even when prefixed)
add test
2006-08-28 23:36:23 +00:00
Ilia Alshanetsky baff4e0ab5 Fixed bug #38438 (DOMNodeList->item(0) segfault on empty NodeList) 2006-08-13 15:02:41 +00:00
Hannes Magnusson aaa1d62614 MFH: fix/add SKIPIF 2006-06-27 00:09:43 +00:00
Rob Richards a7aa62ded1 MFH: add C14N() and C14NFile() methods to perform XML canonicalization
add test
2006-05-26 18:23:50 +00:00
Rob Richards c384b34ae9 MFH: add registerNodeClass() method
- update attribute isID functionality
 - add test
2006-05-22 17:12:26 +00:00
Rob Richards 6f95fa95cc add tests 2006-05-17 16:36:21 +00:00
Rob Richards f57c75112d Fix bug #37277 (cloning Dom Documents or Nodes does not work)
Proper fix for bug #36859
add test
2006-05-03 08:43:04 +00:00
Rob Richards aaec067578 Fixed bug #36756 (DOMDocument::removeChild corrupts node)
add test
2006-03-18 11:44:49 +00:00
Rob Richards 65211cddcc fix crashes using notations and entity decls
add test
2006-03-03 20:15:10 +00:00
Antony Dovgal 460a4fecef fix test 2005-12-16 14:57:29 +00:00
Rob Richards ad7732c0cc Fixed bug #35342 (isset(DOMNodeList->length) returns false)
add test
2005-11-23 03:12:47 +00:00
Marcus Boerger c388f97ac9 - Fix test expectations 2005-11-06 10:51:29 +00:00
Rob Richards 2e8f773eee MFH: fix crash setting attr from foreign doc (throws exception)
add test
2005-10-27 23:51:22 +00:00
Ilia Alshanetsky d4696abdb9 Fixed tests to work with ZTS builds 2005-10-20 19:22:09 +00:00
Rob Richards 1b02f3ec31 MFH: Fixed bug #34276 (setAttributeNS doesn't work with default namespace)
Add test
2005-08-28 16:23:25 +00:00
foobar eccc955ed5 fix test 2005-06-23 10:57:52 +00:00
Dmitry Stogov fd2d420919 Fixed test file according to latest debug_backtrace() fixes 2005-06-23 09:25:00 +00:00
Dmitry Stogov 60328db583 Debug backtrace was fixed 2005-06-22 15:30:14 +00:00
Rob Richards 334d756ffa Fix bug #32755 Segfault in replaceChild() when DocumentFragment has no children
update test
2005-04-18 23:07:50 +00:00
Rob Richards 5313e98b72 - Fixed bug #32615 (Segfault in replaceChild() using fragment when
previousSibling is NULL)
- add test
2005-04-08 15:58:24 +00:00
Rob Richards 9c3919c3a3 fix test 2005-04-08 12:18:57 +00:00