Home
last modified time | relevance | path

Searched refs:oldChild (Results 1 – 24 of 24) sorted by relevance

/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Dhc_nodereplacechildinvalidnodetype.java75 Node oldChild; in runTest() local
80 oldChild = elementList.item(1); in runTest()
81 rootNode = (Element) oldChild.getParentNode(); in runTest()
86 replacedChild = rootNode.replaceChild(newChild, oldChild); in runTest()
Dhc_noderemovechildgetnodename.java69 Node oldChild; in runTest() local
77 oldChild = childList.item(0); in runTest()
78 oldName = oldChild.getNodeName(); in runTest()
79 removedChild = employeeNode.removeChild(oldChild); in runTest()
Dnodereplacechildnewchildexists.java66 Node oldChild = null; in runTest() local
107 oldChild = childList.item(11); in runTest()
111 oldChild = childList.item(5); in runTest()
115 replacedChild = employeeNode.replaceChild(newChild, oldChild); in runTest()
116 assertSame("return_value_same", oldChild, replacedChild); in runTest()
Dhc_nodereplacechildnewchildexists.java65 Node oldChild = null; in runTest() local
88 oldChild = childList.item(5); in runTest()
89 replacedChild = employeeNode.replaceChild(newChild, oldChild); in runTest()
90 assertSame("return_value_same", oldChild, replacedChild); in runTest()
Dnoderemovechildoldchildnonexistent.java69 Node oldChild; in runTest() local
74 oldChild = doc.createElement("oldChild"); in runTest()
81 removedChild = elementNode.removeChild(oldChild); in runTest()
Dhc_noderemovechildoldchildnonexistent.java68 Node oldChild; in runTest() local
73 oldChild = doc.createElement("br"); in runTest()
80 removedChild = elementNode.removeChild(oldChild); in runTest()
Dhc_nodereplacechildnodename.java70 Node oldChild; in runTest() local
78 oldChild = childList.item(0); in runTest()
80 replacedNode = employeeNode.replaceChild(newChild, oldChild); in runTest()
Dnodereplacechildinvalidnodetype.java74 Node oldChild; in runTest() local
80 oldChild = elementList.item(1); in runTest()
85 replacedChild = rootNode.replaceChild(newChild, oldChild); in runTest()
Dhc_nodereplacechildoldchildnonexistent.java68 Node oldChild; in runTest() local
75 oldChild = doc.createElement("b"); in runTest()
82 replacedNode = elementNode.replaceChild(newChild, oldChild); in runTest()
Dnodereplacechildoldchildnonexistent.java69 Node oldChild; in runTest() local
76 oldChild = doc.createElement("oldChild"); in runTest()
83 replacedNode = elementNode.replaceChild(newChild, oldChild); in runTest()
Dnodereplacechild.java68 Node oldChild; in runTest() local
77 oldChild = childList.item(0); in runTest()
79 replacedNode = employeeNode.replaceChild(newChild, oldChild); in runTest()
Dnodereplacechildnodeancestor.java74 Node oldChild; in runTest() local
81 oldChild = childList.item(0); in runTest()
86 replacedNode = employeeNode.replaceChild(newChild, oldChild); in runTest()
Dhc_nodereplacechildnewchilddiffdocument.java72 Node oldChild; in runTest() local
82 oldChild = elementNode.getFirstChild(); in runTest()
87 replacedChild = elementNode.replaceChild(newChild, oldChild); in runTest()
Dhc_nodereplacechild.java68 Node oldChild; in runTest() local
77 oldChild = childList.item(0); in runTest()
79 replacedNode = employeeNode.replaceChild(newChild, oldChild); in runTest()
Dnodereplacechildnewchilddiffdocument.java72 Node oldChild; in runTest() local
82 oldChild = elementNode.getFirstChild(); in runTest()
87 replacedChild = elementNode.replaceChild(newChild, oldChild); in runTest()
Dnodereplacechildnodename.java67 Node oldChild; in runTest() local
77 oldChild = childList.item(1); in runTest()
79 replacedNode = employeeNode.replaceChild(newChild, oldChild); in runTest()
Dhc_nodereplacechildnodeancestor.java72 Node oldChild; in runTest() local
79 oldChild = childList.item(0); in runTest()
84 replacedNode = employeeNode.replaceChild(newChild, oldChild); in runTest()
Dnoderemovechildgetnodename.java66 Node oldChild; in runTest() local
75 oldChild = childList.item(0); in runTest()
76 removedChild = employeeNode.removeChild(oldChild); in runTest()
Dnoderemovechildnode.java65 Node oldChild; in runTest() local
75 oldChild = childList.item(0); in runTest()
76 removedChild = employeeNode.removeChild(oldChild); in runTest()
Dhc_noderemovechildnode.java69 Node oldChild; in runTest() local
90 oldChild = emList.item(0); in runTest()
91 removedChild = employeeNode.removeChild(oldChild); in runTest()
Dhc_nodeappendchildnodeancestor.java72 Node oldChild; in runTest() local
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DInnerNodeImpl.java174 public Node removeChild(Node oldChild) throws DOMException { in removeChild() argument
175 LeafNodeImpl oldChildImpl = (LeafNodeImpl) oldChild; in removeChild()
189 return oldChild; in removeChild()
196 public Node replaceChild(Node newChild, Node oldChild) throws DOMException { in replaceChild() argument
197 int index = ((LeafNodeImpl) oldChild).index; in replaceChild()
198 removeChild(oldChild); in replaceChild()
200 return oldChild; in replaceChild()
DNodeImpl.java155 public Node removeChild(Node oldChild) throws DOMException { in removeChild() argument
159 public Node replaceChild(Node newChild, Node oldChild) throws DOMException { in replaceChild() argument
/libcore/luni/src/main/java/org/w3c/dom/
DNode.java347 Node oldChild) in replaceChild() argument
365 public Node removeChild(Node oldChild) in removeChild() argument