Home
last modified time | relevance | path

Searched refs:elementList (Results 1 – 25 of 421) sorted by relevance

12345678910>>...17

/libcore/dom/src/test/java/org/w3c/domts/level2/core/
Dnodenormalize01.java89 NodeList elementList; in runTest() local
148 elementList = element1.getChildNodes(); in runTest()
149 assertSize("nodeNormalize01_1Bef", 6, elementList); in runTest()
150 elementList = element2.getChildNodes(); in runTest()
151 assertSize("nodeNormalize01_2Bef", 3, elementList); in runTest()
152 elementList = element3.getChildNodes(); in runTest()
153 assertSize("nodeNormalize01_3Bef", 3, elementList); in runTest()
154 elementList = element4.getChildNodes(); in runTest()
155 assertSize("nodeNormalize01_4Bef", 3, elementList); in runTest()
156 elementList = element5.getChildNodes(); in runTest()
[all …]
Dnodehasattributes01.java65 NodeList elementList; in runTest() local
68 elementList = doc.getElementsByTagName("employee"); in runTest()
69 element = (Element) elementList.item(0); in runTest()
72 elementList = doc.getElementsByTagName("address"); in runTest()
73 element = (Element) elementList.item(0); in runTest()
DgetAttributeNS02.java73 NodeList elementList; in runTest() local
79 elementList = doc.getElementsByTagName("emp:address"); in runTest()
80 testAddr = (Element) elementList.item(0); in runTest()
83 elementList = doc.getElementsByTagName("emp:address"); in runTest()
84 testAddr = (Element) elementList.item(0); in runTest()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DNodeNormalize.java106 NodeList elementList; in testNormalize() local
166 elementList = element1.getChildNodes(); in testNormalize()
167 assertEquals("nodeNormalize01_1Bef", 6, elementList.getLength()); in testNormalize()
168 elementList = element2.getChildNodes(); in testNormalize()
169 assertEquals("nodeNormalize01_2Bef", 3, elementList.getLength()); in testNormalize()
170 elementList = element3.getChildNodes(); in testNormalize()
171 assertEquals("nodeNormalize01_3Bef", 3, elementList.getLength()); in testNormalize()
172 elementList = element4.getChildNodes(); in testNormalize()
173 assertEquals("nodeNormalize01_4Bef", 3, elementList.getLength()); in testNormalize()
174 elementList = element5.getChildNodes(); in testNormalize()
[all …]
DPrefix.java87 NodeList elementList; in testGetPrefix2() local
92 elementList = doc.getElementsByTagName("emp:employeeId"); in testGetPrefix2()
93 testEmployee = elementList.item(0); in testGetPrefix2()
101 NodeList elementList; in testGetPrefix3() local
105 elementList = doc.getElementsByTagName("emp:employee"); in testGetPrefix3()
106 testEmployee = elementList.item(0); in testGetPrefix3()
113 NodeList elementList; in testGetPrefix4() local
117 elementList = doc.getElementsByTagName("employee"); in testGetPrefix4()
118 testEmployee = elementList.item(0); in testGetPrefix4()
124 NodeList elementList; in testGetPrefix5() local
[all …]
DGetElementsByTagNameNS.java97 NodeList elementList; in testGetElementsByTagNameNS3() local
119 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", "*"); in testGetElementsByTagNameNS3()
120 for (int indexN10076 = 0; indexN10076 < elementList.getLength(); indexN10076++) { in testGetElementsByTagNameNS3()
121 child = (Node) elementList.item(indexN10076); in testGetElementsByTagNameNS3()
129 NodeList elementList; in testGetElementsByTagNameNS4() local
142 elementList = doc.getElementsByTagNameNS("*", "address"); in testGetElementsByTagNameNS4()
143 for (int indexN10059 = 0; indexN10059 < elementList.getLength(); indexN10059++) { in testGetElementsByTagNameNS4()
144 child = (Node) elementList.item(indexN10059); in testGetElementsByTagNameNS4()
154 NodeList elementList; in testGetElementsByTagNameNS5() local
156 elementList = doc.getElementsByTagNameNS(namespaceURI, localName); in testGetElementsByTagNameNS5()
[all …]
DSetAttributeNS.java83 NodeList elementList; in testSetAttributeNS1() local
86 elementList = doc.getElementsByTagName("employee"); in testSetAttributeNS1()
87 testAddr = elementList.item(0); in testSetAttributeNS1()
104 NodeList elementList; in testSetAttributeNS2() local
107 elementList = doc.getElementsByTagName("emp:employee"); in testSetAttributeNS2()
108 testAddr = elementList.item(0); in testSetAttributeNS2()
163 NodeList elementList; in testSetAttributeNS4() local
171 elementList = doc.getElementsByTagName("emp:address"); in testSetAttributeNS4()
172 testAddr = elementList.item(0); in testSetAttributeNS4()
194 NodeList elementList; in testSetAttributeNS5() local
[all …]
DGetAttributeNS.java96 NodeList elementList; in testGetAttributeNS2() local
102 elementList = doc.getElementsByTagName("emp:address"); in testGetAttributeNS2()
103 testAddr = (Element) elementList.item(0); in testGetAttributeNS2()
106 elementList = doc.getElementsByTagName("emp:address"); in testGetAttributeNS2()
107 testAddr = (Element) elementList.item(0); in testGetAttributeNS2()
115 NodeList elementList; in testGetAttributeNS3() local
119 elementList = doc.getElementsByTagName("emp:address"); in testGetAttributeNS3()
120 testAddr = (Element) elementList.item(0); in testGetAttributeNS3()
132 NodeList elementList; in testGetAttributeNS4() local
138 elementList = doc.getElementsByTagName("emp:address"); in testGetAttributeNS4()
[all …]
DNamedNodeMapRemoveNamedItemNS.java80 NodeList elementList; in testRemoveNamedItemNS1() local
82 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", in testRemoveNamedItemNS1()
84 element = elementList.item(1); in testRemoveNamedItemNS1()
146 NodeList elementList; in _testRemoveNamedItemNS4() local
148 elementList = doc.getElementsByTagNameNS("*", "employee"); in _testRemoveNamedItemNS4()
149 element = elementList.item(0); in _testRemoveNamedItemNS4()
212 NodeList elementList; in testRemoveNamedItemNS6() local
214 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", in testRemoveNamedItemNS6()
216 element = elementList.item(1); in testRemoveNamedItemNS6()
234 NodeList elementList; in testRemoveNamedItemNS7() local
[all …]
DHasAttributeNS.java77 NodeList elementList; in testHasAttributeNS1() local
81 elementList = doc.getElementsByTagName("address"); in testHasAttributeNS1()
82 testNode = (Element) elementList.item(0); in testHasAttributeNS1()
90 NodeList elementList; in testHasAttributeNS2() local
94 elementList = doc.getElementsByTagName("address"); in testHasAttributeNS2()
95 testNode = (Element) elementList.item(0); in testHasAttributeNS2()
103 NodeList elementList; in testHasAttributeNS3() local
107 elementList = doc.getElementsByTagName("emp:address"); in testHasAttributeNS3()
108 testNode = (Element) elementList.item(0); in testHasAttributeNS3()
133 NodeList elementList; in testHasAttributeNS5() local
[all …]
DElementGetElementsByTagNameNS.java53 NodeList elementList; in testGetElementsByTagNameNS1() local
56 elementList = element.getElementsByTagNameNS("**", "*"); in testGetElementsByTagNameNS1()
57 assertEquals("elementgetelementsbytagnamens02", 0, elementList in testGetElementsByTagNameNS1()
67 NodeList elementList; in testGetElementsByTagNameNS4() local
80 elementList = element.getElementsByTagNameNS(nullNS, "child"); in testGetElementsByTagNameNS4()
81 assertEquals("elementgetelementsbytagnamens04_1", 1, elementList in testGetElementsByTagNameNS4()
83 elementList = element.getElementsByTagNameNS("*", "child"); in testGetElementsByTagNameNS4()
84 assertEquals("elementgetelementsbytagnamens04_2", 3, elementList in testGetElementsByTagNameNS4()
90 NodeList elementList; in testGetElementsByTagNameNS5() local
93 elementList = element.getElementsByTagNameNS( in testGetElementsByTagNameNS5()
[all …]
DNamedNodeMapSetNamedItemNS.java90 NodeList elementList; in testSetNamedItemNS1() local
93 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", in testSetNamedItemNS1()
95 element = elementList.item(0); in testSetNamedItemNS1()
129 NodeList elementList; in testSetNamedItemNS3() local
138 elementList = doc.getElementsByTagNameNS("*", "address"); in testSetNamedItemNS3()
139 element = (Element) elementList.item(1); in testSetNamedItemNS3()
165 NodeList elementList; in testSetNamedItemNS4() local
172 elementList = doc.getElementsByTagNameNS("*", "address"); in testSetNamedItemNS4()
173 element = (Element) elementList.item(1); in testSetNamedItemNS4()
231 NodeList elementList; in testSetNamedItemNS6() local
[all …]
DHasAttribute.java51 NodeList elementList; in testHasAttribute1() local
55 elementList = doc.getElementsByTagName("address"); in testHasAttribute1()
56 testNode = (Element) elementList.item(4); in testHasAttribute1()
75 NodeList elementList; in testHasAttribute3() local
79 elementList = doc.getElementsByTagName("address"); in testHasAttribute3()
80 testNode = (Element) elementList.item(0); in testHasAttribute3()
86 NodeList elementList; in testHasAttribute4() local
90 elementList = doc.getElementsByTagName("address"); in testHasAttribute4()
91 testNode = (Element) elementList.item(0); in testHasAttribute4()
DSetNamedItemNS.java78 NodeList elementList; in testSetNamedItemNS1() local
86 elementList = doc.getElementsByTagName("address"); in testSetNamedItemNS1()
87 anotherElement = elementList.item(2); in testSetNamedItemNS1()
90 testAddress = elementList.item(0); in testSetNamedItemNS1()
109 NodeList elementList; in testSetNamedItemNS2() local
117 elementList = doc.getElementsByTagName("address"); in testSetNamedItemNS2()
118 testAddress = elementList.item(0); in testSetNamedItemNS2()
136 NodeList elementList; in testSetNamedItemNS3() local
145 elementList = doc.getElementsByTagName("address"); in testSetNamedItemNS3()
146 testAddress = elementList.item(0); in testSetNamedItemNS3()
[all …]
DNamespaceURI.java93 NodeList elementList; in testGetNamespaceURI2() local
98 elementList = doc.getElementsByTagName("emp:address"); in testGetNamespaceURI2()
99 testAddr = (Element) elementList.item(0); in testGetNamespaceURI2()
108 NodeList elementList; in testGetNamespaceURI3() local
112 elementList = doc.getElementsByTagName("employee"); in testGetNamespaceURI3()
113 testEmployee = elementList.item(0); in testGetNamespaceURI3()
120 NodeList elementList; in testGetNamespaceURI4() local
124 elementList = doc.getElementsByTagName("employee"); in testGetNamespaceURI4()
125 testEmployee = elementList.item(1); in testGetNamespaceURI4()
DNodeHasAttributes.java77 NodeList elementList; in testHasAttributes1() local
80 elementList = doc.getElementsByTagName("employee"); in testHasAttributes1()
81 element = (Element) elementList.item(0); in testHasAttributes1()
84 elementList = doc.getElementsByTagName("address"); in testHasAttributes1()
85 element = (Element) elementList.item(0); in testHasAttributes1()
101 NodeList elementList; in testHasAttributes3() local
104 elementList = doc.getElementsByTagName("emp:employee"); in testHasAttributes3()
105 element = (Element) elementList.item(0); in testHasAttributes3()
122 NodeList elementList; in testHasAttributes4() local
134 elementList = newDoc.getElementsByTagNameNS( in testHasAttributes4()
[all …]
DSetAttributeNodeNS.java88 NodeList elementList; in testSetAttributeNode1() local
92 elementList = doc.getElementsByTagName("emp:address"); in testSetAttributeNode1()
93 testAddr = elementList.item(0); in testSetAttributeNode1()
152 NodeList elementList; in testSetAttributeNode3() local
157 elementList = doc.getElementsByTagName("emp:address"); in testSetAttributeNode3()
158 testAddr = elementList.item(0); in testSetAttributeNode3()
167 NodeList elementList; in testSetAttributeNode4() local
173 elementList = doc.getElementsByTagName("emp:address"); in testSetAttributeNode4()
174 testAddr = elementList.item(0); in testSetAttributeNode4()
188 NodeList elementList; in testSetAttributeNode5() local
[all …]
DLocalName.java57 NodeList elementList; in testGetLocalName1() local
62 elementList = doc.getElementsByTagName("emp:address"); in testGetLocalName1()
63 testAddr = (Element) elementList.item(0); in testGetLocalName1()
80 NodeList elementList; in testGetLocalName3() local
85 elementList = doc.getElementsByTagName("employeeId"); in testGetLocalName3()
86 testEmployee = elementList.item(0); in testGetLocalName3()
93 NodeList elementList; in testGetLocalName4() local
97 elementList = doc.getElementsByTagName("employee"); in testGetLocalName4()
98 testEmployee = elementList.item(0); in testGetLocalName4()
DNamedNodeMapGetNamedItemNS.java105 NodeList elementList; in testGetNamedItemNS2() local
108 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", in testGetNamedItemNS2()
110 element = elementList.item(1); in testGetNamedItemNS2()
144 NodeList elementList; in testGetNamedItemNS4() local
147 elementList = doc.getElementsByTagNameNS("*", "address"); in testGetNamedItemNS4()
148 element = (Element) elementList.item(1); in testGetNamedItemNS4()
162 NodeList elementList; in testGetNamedItemNS5() local
164 elementList = doc.getElementsByTagNameNS("*", "address"); in testGetNamedItemNS5()
165 element = elementList.item(1); in testGetNamedItemNS5()
DGetAttributeNodeNS.java78 NodeList elementList; in testGetAttributeNodeNS1() local
82 elementList = doc.getElementsByTagName("emp:address"); in testGetAttributeNodeNS1()
83 testAddr = (Element) elementList.item(0); in testGetAttributeNodeNS1()
90 NodeList elementList; in testGetAttributeNodeNS2() local
95 elementList = doc.getElementsByTagName("emp:address"); in testGetAttributeNodeNS2()
96 testAddr = (Element) elementList.item(0); in testGetAttributeNodeNS2()
DElementSetAttributeNodeNS.java116 NodeList elementList; in testSetAttributeNodeNS2() local
122 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", in testSetAttributeNodeNS2()
124 element = (Element) elementList.item(1); in testSetAttributeNodeNS2()
127 element2 = (Element) elementList.item(2); in testSetAttributeNodeNS2()
140 NodeList elementList; in testSetAttributeNodeNS3() local
144 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", in testSetAttributeNodeNS3()
146 element1 = (Element) elementList.item(1); in testSetAttributeNodeNS3()
148 element2 = (Element) elementList.item(2); in testSetAttributeNodeNS3()
210 NodeList elementList; in _testSetAttributeNodeNS6() local
218 elementList = entRef.getChildNodes(); in _testSetAttributeNodeNS6()
[all …]
DGetNamedItemNS.java56 NodeList elementList; in testGetNamedItemNS1() local
62 elementList = doc.getElementsByTagName("address"); in testGetNamedItemNS1()
63 testEmployee = elementList.item(1); in testGetNamedItemNS1()
74 NodeList elementList; in testGetNamedItemNS2() local
79 elementList = doc.getElementsByTagName("address"); in testGetNamedItemNS2()
80 testEmployee = elementList.item(1); in testGetNamedItemNS2()
DRemoveNamedItemNS.java79 NodeList elementList; in testRemoveNamedItemNS1() local
85 elementList = doc.getElementsByTagName("address"); in testRemoveNamedItemNS1()
86 testAddress = elementList.item(1); in testRemoveNamedItemNS1()
98 NodeList elementList; in testRemoveNamedItemNS2() local
103 elementList = doc.getElementsByTagName("address"); in testRemoveNamedItemNS2()
104 testAddress = elementList.item(1); in testRemoveNamedItemNS2()
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Dhc_namednodemapinuseattributeerr.java67 NodeList elementList; in runTest() local
75 elementList = doc.getElementsByTagName("acronym"); in runTest()
76 firstNode = (Element) elementList.item(0); in runTest()
80 elementList = doc.getElementsByTagName("acronym"); in runTest()
81 testNode = elementList.item(2); in runTest()
Dhc_elementnormalize.java61 NodeList elementList; in runTest() local
68 elementList = doc.getElementsByTagName("sup"); in runTest()
69 testName = (Element) elementList.item(0); in runTest()
76 elementList = doc.getElementsByTagName("sup"); in runTest()
77 testName = (Element) elementList.item(0); in runTest()

12345678910>>...17