Home
last modified time | relevance | path

Searched refs:newDoc (Results 1 – 20 of 20) sorted by relevance

/libcore/dom/src/test/java/org/w3c/domts/level2/core/
Dnodenormalize01.java69 Document newDoc; in runTest() local
93 newDoc = domImpl.createDocument("http://www.w3.org/DOM/Test", "dom:root", docTypeNull); in runTest()
94 element1 = newDoc.createElement("element1"); in runTest()
95 element2 = newDoc.createElement("element2"); in runTest()
96 element3 = newDoc.createElement("element3"); in runTest()
97 element4 = newDoc.createElement("element4"); in runTest()
98 element5 = newDoc.createElement("element5"); in runTest()
99 element6 = newDoc.createElement("element6"); in runTest()
100 element7 = newDoc.createElement("element7"); in runTest()
101 text1 = newDoc.createTextNode("text1"); in runTest()
[all …]
Dnodehasattributes04.java71 Document newDoc; in runTest() local
85 newDoc = domImpl.createDocument("http://www.w3.org/DOM/Test", "test", docType); in runTest()
86 element = newDoc.createElementNS("http://www.w3.org/DOM/Test", "dom:elem"); in runTest()
87 attribute = newDoc.createAttribute("attr"); in runTest()
89 elementDoc = newDoc.getDocumentElement(); in runTest()
91 elementList = newDoc.getElementsByTagNameNS("http://www.w3.org/DOM/Test", "elem"); in runTest()
Dnodegetownerdocument02.java73 Document newDoc; in runTest() local
84 newDoc = domImpl.createDocument("http://www.w3.org/DOM/Test", "mydoc", docType); in runTest()
85 ownerDocDoc = newDoc.getOwnerDocument(); in runTest()
87 newElem = newDoc.createElementNS("http://www.w3.org/DOM/Test", "myelem"); in runTest()
DdocumentgetelementsbytagnameNS01.java69 Document newDoc; in runTest() local
78 newDoc = domImpl.createDocument(nullNS, "root", docType); in runTest()
79 childList = newDoc.getElementsByTagNameNS("*", "*"); in runTest()
DdocumentcreateattributeNS05.java67 Document newDoc; in runTest() local
77 newDoc = domImpl.createDocument("http://www.w3.org/DOM/Test", "dom:doc", docType); in runTest()
82 attribute = newDoc.createAttributeNS(namespaceURI, qualifiedName); in runTest()
DdocumentcreateelementNS06.java69 Document newDoc; in runTest() local
78 newDoc = domImpl.createDocument("http://www.w3.org/DOM/Test", "dom:doc", docType); in runTest()
83 element = newDoc.createElementNS(namespaceURI, qualifiedName); in runTest()
DdocumentcreateattributeNS06.java68 Document newDoc; in runTest() local
77 newDoc = domImpl.createDocument("http://www.w3.org/DOM/Test", "dom:doc", docType); in runTest()
82 attribute = newDoc.createAttributeNS(namespaceURI, qualifiedName); in runTest()
Ddocumentimportnode14.java74 Document newDoc; in runTest() local
89 newDoc = domImpl.createDocument(nullNS, "staff", nullDocType); in runTest()
90 imported = newDoc.importNode(employeeElem, true); in runTest()
Ddomimplementationcreatedocument03.java87 Document newDoc; in runTest() local
108 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType); in runTest()
109 assertNotNull("domimplementationcreatedocument03", newDoc); in runTest()
Ddocumentimportnode04.java79 Document newDoc; in runTest() local
92 newDoc = domImpl.createDocument("http://www.w3.org/DOM/Test", "l2:root", docType); in runTest()
96 importedAttr = newDoc.importNode(attr, true); in runTest()
Ddomimplementationcreatedocument07.java80 Document newDoc; in runTest() local
90 newDoc = domImpl.createDocument(namespaceURI, ":", docType); in runTest()
Ddomimplementationcreatedocument04.java82 Document newDoc; in runTest() local
94 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType); in runTest()
Ddomimplementationcreatedocument05.java82 Document newDoc; in runTest() local
93 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType); in runTest()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DNodeNormalize.java86 Document newDoc; in testNormalize() local
110 newDoc = domImpl.createDocument("http://www.w3.org/DOM/Test", in testNormalize()
112 element1 = newDoc.createElement("element1"); in testNormalize()
113 element2 = newDoc.createElement("element2"); in testNormalize()
114 element3 = newDoc.createElement("element3"); in testNormalize()
115 element4 = newDoc.createElement("element4"); in testNormalize()
116 element5 = newDoc.createElement("element5"); in testNormalize()
117 element6 = newDoc.createElement("element6"); in testNormalize()
118 element7 = newDoc.createElement("element7"); in testNormalize()
119 text1 = newDoc.createTextNode("text1"); in testNormalize()
[all …]
DNodeHasAttributes.java112 Document newDoc; in testHasAttributes4() local
126 newDoc = domImpl.createDocument("http://www.w3.org/DOM/Test", "test", in testHasAttributes4()
128 element = newDoc.createElementNS("http://www.w3.org/DOM/Test", in testHasAttributes4()
130 attribute = newDoc.createAttribute("attr"); in testHasAttributes4()
132 elementDoc = newDoc.getDocumentElement(); in testHasAttributes4()
134 elementList = newDoc.getElementsByTagNameNS( in testHasAttributes4()
DNodeGetOwnerDocument.java90 Document newDoc; in testGetOwnerDocument2() local
101 newDoc = domImpl.createDocument("http://www.w3.org/DOM/Test", "mydoc", in testGetOwnerDocument2()
103 ownerDocDoc = newDoc.getOwnerDocument(); in testGetOwnerDocument2()
105 newElem = newDoc in testGetOwnerDocument2()
DDocumentCreateAttributeNS.java203 Document newDoc; in testCreateAttributeNS5() local
213 newDoc = domImpl.createDocument("http://www.w3.org/DOM/Test", in testCreateAttributeNS5()
219 newDoc.createAttributeNS(namespaceURI, qualifiedName); in testCreateAttributeNS5()
228 Document newDoc; in testCreateAttributeNS6() local
237 newDoc = domImpl.createDocument("http://www.w3.org/DOM/Test", in testCreateAttributeNS6()
243 newDoc.createAttributeNS(namespaceURI, qualifiedName); in testCreateAttributeNS6()
DDocumentGetElementsByTagnameNS.java60 Document newDoc; in testGetElementsByTagNameNS1() local
69 newDoc = domImpl.createDocument(nullNS, "root", docType); in testGetElementsByTagNameNS1()
70 childList = newDoc.getElementsByTagNameNS("*", "*"); in testGetElementsByTagNameNS1()
DDocumentCreateElementNS.java117 Document newDoc; in testCreateElementNS6() local
126 newDoc = domImpl.createDocument("http://www.w3.org/DOM/Test", in testCreateElementNS6()
132 newDoc.createElementNS(namespaceURI, qualifiedName); in testCreateElementNS6()
DDOMImplementationCreateDocument.java58 Document newDoc; in testCreateDocument3() local
79 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, in testCreateDocument3()
81 assertNotNull("domimplementationcreatedocument03", newDoc); in testCreateDocument3()