]> granicus.if.org Git - php/commit
Includes 5 new phpTests to check that the error message DOM_NOT_FOUND is properly...
authorAntonio Diaz Ruiz <dejalatele@gmail.com>
Mon, 15 Apr 2013 21:30:58 +0000 (23:30 +0200)
committerAntonio Diaz Ruiz <dejalatele@gmail.com>
Sat, 20 Apr 2013 14:28:46 +0000 (16:28 +0200)
commit9bf80bc29419b265384188b4c90e528d7203b795
treeb7629c97f83a6c53f34ec10c3bdcbf1fe4c0d3be
parent279285598d79384143ef350f76192c816061ca7c
Includes 5 new phpTests to check that the error message DOM_NOT_FOUND is properly raised by the method DOMNode::insertBefore(newNode, [refNode]).

Each file covers a different test case

    DOMNode_insertBefore_error2.phpt: refNode is a sibling of the node where newNode wanted to be inserted.
    DOMNode_insertBefore_error3.phpt: refNode is the parent of the node where newNode wanted to be inserted.
    DOMNode_insertBefore_error4.phpt: refNode is a brand new node.
    DOMNode_insertBefore_error5.phpt: refNode is a descendant (not child) of the node where newNode wanted to be inserted.
    DOMNode_insertBefore_error6.phpt: refNode is the node where newNode wanted to be inserted.
ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt
ext/dom/tests/DOMNode_insertBefore_error2.phpt [new file with mode: 0644]
ext/dom/tests/DOMNode_insertBefore_error3.phpt [new file with mode: 0644]
ext/dom/tests/DOMNode_insertBefore_error4.phpt [new file with mode: 0644]
ext/dom/tests/DOMNode_insertBefore_error5.phpt [new file with mode: 0644]
ext/dom/tests/DOMNode_insertBefore_error6.phpt [new file with mode: 0644]