/libcore/luni/src/test/java/tests/org/w3c/dom/ |
HasAttribute.java | 51 NodeList elementList; 55 elementList = doc.getElementsByTagName("address"); 56 testNode = (Element) elementList.item(4); 64 // NodeList elementList; 68 // elementList = doc.getElementsByTagName("address"); 69 // testNode = (Element) elementList.item(0); 75 NodeList elementList; 79 elementList = doc.getElementsByTagName("address"); 80 testNode = (Element) elementList.item(0); 86 NodeList elementList; [all...] |
ElementGetElementsByTagNameNS.java | 53 NodeList elementList; 56 elementList = element.getElementsByTagNameNS("**", "*"); 57 assertEquals("elementgetelementsbytagnamens02", 0, elementList 67 NodeList elementList; 80 elementList = element.getElementsByTagNameNS(nullNS, "child"); 81 assertEquals("elementgetelementsbytagnamens04_1", 1, elementList 83 elementList = element.getElementsByTagNameNS("*", "child"); 84 assertEquals("elementgetelementsbytagnamens04_2", 3, elementList 90 NodeList elementList; 93 elementList = element.getElementsByTagNameNS [all...] |
GetAttributeNS.java | 81 // NodeList elementList; 85 // elementList = doc.getElementsByTagName("emp:address"); 86 // testAddr = (Element) elementList.item(0); 96 NodeList elementList; 102 elementList = doc.getElementsByTagName("emp:address"); 103 testAddr = (Element) elementList.item(0); 106 elementList = doc.getElementsByTagName("emp:address"); 107 testAddr = (Element) elementList.item(0); 115 NodeList elementList; 119 elementList = doc.getElementsByTagName("emp:address") [all...] |
NodeNormalize.java | 106 NodeList elementList; 166 elementList = element1.getChildNodes(); 167 assertEquals("nodeNormalize01_1Bef", 6, elementList.getLength()); 168 elementList = element2.getChildNodes(); 169 assertEquals("nodeNormalize01_2Bef", 3, elementList.getLength()); 170 elementList = element3.getChildNodes(); 171 assertEquals("nodeNormalize01_3Bef", 3, elementList.getLength()); 172 elementList = element4.getChildNodes(); 173 assertEquals("nodeNormalize01_4Bef", 3, elementList.getLength()); 174 elementList = element5.getChildNodes() [all...] |
LocalName.java | 57 NodeList elementList; 62 elementList = doc.getElementsByTagName("emp:address"); 63 testAddr = (Element) elementList.item(0); 80 NodeList elementList; 85 elementList = doc.getElementsByTagName("employeeId"); 86 testEmployee = elementList.item(0); 93 NodeList elementList; 97 elementList = doc.getElementsByTagName("employee"); 98 testEmployee = elementList.item(0);
|
NamespaceURI.java | 79 // NodeList elementList; 84 // elementList = doc.getElementsByTagName("emp:address"); 85 // testAddr = (Element) elementList.item(0); 93 NodeList elementList; 98 elementList = doc.getElementsByTagName("emp:address"); 99 testAddr = (Element) elementList.item(0); 108 NodeList elementList; 112 elementList = doc.getElementsByTagName("employee"); 113 testEmployee = elementList.item(0); 120 NodeList elementList; [all...] |
HasAttributeNS.java | 77 NodeList elementList; 81 elementList = doc.getElementsByTagName("address"); 82 testNode = (Element) elementList.item(0); 90 NodeList elementList; 94 elementList = doc.getElementsByTagName("address"); 95 testNode = (Element) elementList.item(0); 103 NodeList elementList; 107 elementList = doc.getElementsByTagName("emp:address"); 108 testNode = (Element) elementList.item(0); 119 // NodeList elementList; [all...] |
Prefix.java | 87 NodeList elementList; 92 elementList = doc.getElementsByTagName("emp:employeeId"); 93 testEmployee = elementList.item(0); 101 NodeList elementList; 105 elementList = doc.getElementsByTagName("emp:employee"); 106 testEmployee = elementList.item(0); 113 NodeList elementList; 117 elementList = doc.getElementsByTagName("employee"); 118 testEmployee = elementList.item(0); 124 NodeList elementList; [all...] |
GetElementsByTagNameNS.java | 97 NodeList elementList; 119 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", "*"); 120 for (int indexN10076 = 0; indexN10076 < elementList.getLength(); indexN10076++) { 121 child = (Node) elementList.item(indexN10076); 129 NodeList elementList; 142 elementList = doc.getElementsByTagNameNS("*", "address"); 143 for (int indexN10059 = 0; indexN10059 < elementList.getLength(); indexN10059++) { 144 child = (Node) elementList.item(indexN10059); 154 NodeList elementList; 156 elementList = doc.getElementsByTagNameNS(namespaceURI, localName) [all...] |
NodeHasAttributes.java | 77 NodeList elementList; 80 elementList = doc.getElementsByTagName("employee"); 81 element = (Element) elementList.item(0); 84 elementList = doc.getElementsByTagName("address"); 85 element = (Element) elementList.item(0); 101 NodeList elementList; 104 elementList = doc.getElementsByTagName("emp:employee"); 105 element = (Element) elementList.item(0); 122 NodeList elementList; 134 elementList = newDoc.getElementsByTagNameNS [all...] |
GetAttributeNodeNS.java | 78 NodeList elementList; 82 elementList = doc.getElementsByTagName("emp:address"); 83 testAddr = (Element) elementList.item(0); 90 NodeList elementList; 95 elementList = doc.getElementsByTagName("emp:address"); 96 testAddr = (Element) elementList.item(0);
|
SetAttributeNS.java | 83 NodeList elementList; 86 elementList = doc.getElementsByTagName("employee"); 87 testAddr = elementList.item(0); 104 NodeList elementList; 107 elementList = doc.getElementsByTagName("emp:employee"); 108 testAddr = elementList.item(0); 163 NodeList elementList; 171 elementList = doc.getElementsByTagName("emp:address"); 172 testAddr = elementList.item(0); 194 NodeList elementList; [all...] |
NamedNodeMapSetNamedItemNS.java | 90 NodeList elementList; 93 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", 95 element = elementList.item(0); 129 NodeList elementList; 138 elementList = doc.getElementsByTagNameNS("*", "address"); 139 element = (Element) elementList.item(1); 165 NodeList elementList; 172 elementList = doc.getElementsByTagNameNS("*", "address"); 173 element = (Element) elementList.item(1); 231 NodeList elementList; [all...] |
SetNamedItemNS.java | 78 NodeList elementList; 86 elementList = doc.getElementsByTagName("address"); 87 anotherElement = elementList.item(2); 90 testAddress = elementList.item(0); 109 NodeList elementList; 117 elementList = doc.getElementsByTagName("address"); 118 testAddress = elementList.item(0); 136 NodeList elementList; 145 elementList = doc.getElementsByTagName("address"); 146 testAddress = elementList.item(0) [all...] |
NamedNodeMapGetNamedItemNS.java | 105 NodeList elementList; 108 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", 110 element = elementList.item(1); 144 NodeList elementList; 147 elementList = doc.getElementsByTagNameNS("*", "address"); 148 element = (Element) elementList.item(1); 162 NodeList elementList; 164 elementList = doc.getElementsByTagNameNS("*", "address"); 165 element = elementList.item(1); 180 // NodeList elementList; [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
nodehasattributes01.java | 65 NodeList elementList; 68 elementList = doc.getElementsByTagName("employee"); 69 element = (Element) elementList.item(0); 72 elementList = doc.getElementsByTagName("address"); 73 element = (Element) elementList.item(0);
|
nodenormalize01.java | 89 NodeList elementList; 148 elementList = element1.getChildNodes(); 149 assertSize("nodeNormalize01_1Bef", 6, elementList); 150 elementList = element2.getChildNodes(); 151 assertSize("nodeNormalize01_2Bef", 3, elementList); 152 elementList = element3.getChildNodes(); 153 assertSize("nodeNormalize01_3Bef", 3, elementList); 154 elementList = element4.getChildNodes(); 155 assertSize("nodeNormalize01_4Bef", 3, elementList); 156 elementList = element5.getChildNodes() [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
elementgetelementsbytagname.java | 66 NodeList elementList; 68 elementList = doc.getElementsByTagName("employee"); 69 assertSize("elementGetElementsByTagNameAssert", 5, elementList);
|
elementgetelementsbytagnamenomatch.java | 64 NodeList elementList; 66 elementList = doc.getElementsByTagName("noMatch"); 67 assertSize("elementGetElementsByTagNameNoMatchNoMatchAssert", 0, elementList);
|
hc_elementgetelementsbytagname.java | 65 NodeList elementList; 67 elementList = doc.getElementsByTagName("p"); 68 assertSize("elementGetElementsByTagNameAssert", 5, elementList);
|
hc_elementgetelementsbytagnamenomatch.java | 63 NodeList elementList; 65 elementList = doc.getElementsByTagName("noMatch"); 66 assertSize("elementGetElementsByTagNameNoMatchNoMatchAssert", 0, elementList);
|
nodecommentnodename.java | 65 NodeList elementList; 70 elementList = doc.getChildNodes(); 71 for (int indexN10040 = 0; indexN10040 < elementList.getLength(); indexN10040++) { 72 commentNode = (Node) elementList.item(indexN10040);
|
nodecommentnodevalue.java | 65 NodeList elementList; 70 elementList = doc.getChildNodes(); 71 for (int indexN10040 = 0; indexN10040 < elementList.getLength(); indexN10040++) { 72 commentNode = (Node) elementList.item(indexN10040);
|
hc_elementnormalize.java | 61 NodeList elementList; 68 elementList = doc.getElementsByTagName("sup"); 69 testName = (Element) elementList.item(0); 76 elementList = doc.getElementsByTagName("sup"); 77 testName = (Element) elementList.item(0);
|
hc_namednodemapinuseattributeerr.java | 67 NodeList elementList; 75 elementList = doc.getElementsByTagName("acronym"); 76 firstNode = (Element) elementList.item(0); 80 elementList = doc.getElementsByTagName("acronym"); 81 testNode = elementList.item(2);
|