• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/APP-IPK/AiCloud-ipk/opt/etc/aicloud_UI/js/davclient.js/dommer/

Lines Matching refs:assertEquals

51     testing.assertEquals(el1.nodeType, 1);
52 testing.assertEquals(el1.nodeName.toLowerCase(), 'foo');
53 testing.assertEquals(el1.namespaceURI, null);
54 testing.assertEquals(el1.ownerDocument, doc);
57 testing.assertEquals(el2.nodeType, 1);
58 testing.assertEquals(el2.nodeName.toLowerCase(), 'bar');
59 testing.assertEquals(el2.namespaceURI, 'foo:');
60 testing.assertEquals(el2.ownerDocument, doc);
63 testing.assertEquals(attr1.nodeType, 2);
64 testing.assertEquals(attr1.nodeName, 'foo');
65 testing.assertEquals(attr1.namespaceURI, null);
76 testing.assertEquals(doc.documentElement, el);
78 testing.assertEquals(el.ownerDocument, doc);
79 testing.assertEquals(el.parentNode, docfrag);
80 testing.assertEquals(el.firstChild, null);
81 testing.assertEquals(el.lastChild, null);
82 testing.assertEquals(el.previousSibling, null);
83 testing.assertEquals(el.nextSibling, null);
84 testing.assertEquals(docfrag.childNodes[0], el);
91 testing.assertEquals(el2.parentNode, el);
92 testing.assertEquals(el.childNodes[0], el2);
93 testing.assertEquals(el.firstChild, el2);
94 testing.assertEquals(el.lastChild, el2);
95 testing.assertEquals(el2.previousSibling, null);
96 testing.assertEquals(el2.nextSibling, null);
100 testing.assertEquals(el3.parentNode, el);
101 testing.assertEquals(el.childNodes[1], el3);
102 testing.assertEquals(el.firstChild, el2);
103 testing.assertEquals(el.lastChild, el3);
104 testing.assertEquals(el2.previousSibling, null);
105 testing.assertEquals(el2.nextSibling, el3);
106 testing.assertEquals(el3.previousSibling, el2);
107 testing.assertEquals(el3.nextSibling, null);
118 testing.assertEquals(el2.parentNode, null);
119 testing.assertEquals(el.firstChild, null);
120 testing.assertEquals(el.lastChild, null);
126 testing.assertEquals(el2.parentNode, el);
127 testing.assertEquals(el.firstChild, el2);
128 testing.assertEquals(el.lastChild, el2);
129 testing.assertEquals(el.childNodes[0], el2);
133 testing.assertEquals(el3.parentNode, el);
134 testing.assertEquals(el.firstChild, el2);
135 testing.assertEquals(el.lastChild, el3);
136 testing.assertEquals(el2.nextSibling, el3);
137 testing.assertEquals(el3.previousSibling, el2);
140 testing.assertEquals(el2.parentNode, null);
141 testing.assertEquals(el.firstChild, el3);
142 testing.assertEquals(el.lastChild, el3);
143 testing.assertEquals(el.childNodes[0], el3);
144 testing.assertEquals(el2.nextSibling, null);
145 testing.assertEquals(el3.previousSibling, null);
160 testing.assertEquals(el.childNodes.length, 1);
161 testing.assertEquals(el.childNodes[0], child1);
162 testing.assertEquals(child1.parentNode, el);
165 testing.assertEquals(el.firstChild, child1);
166 testing.assertEquals(el.lastChild, child3);
167 testing.assertEquals(child1.nextSibling, child3);
168 testing.assertEquals(child3.previousSibling, child1);
171 testing.assertEquals(child1.parentNode, null);
172 testing.assertEquals(el.childNodes.length, 2);
173 testing.assertEquals(el.firstChild, child2);
174 testing.assertEquals(el.lastChild, child3);
175 testing.assertEquals(child2.parentNode, el);
176 testing.assertEquals(child1.nextSibling, null);
177 testing.assertEquals(child2.nextSibling, child3);
178 testing.assertEquals(child3.previousSibling, child2);
188 testing.assertEquals(el.getAttribute('bar'), 'baz');
190 testing.assertEquals(attr.nodeValue, 'baz');
191 testing.assertEquals(attr.nodeType, 2);
192 testing.assertEquals(attr.namespaceURI, null);
193 testing.assertEquals(attr.ownerDocument, doc);
194 testing.assertEquals(attr.parentNode, null);
195 testing.assertEquals(attr.ownerElement, el);
199 testing.assertEquals(attr.nodeValue, 'baz');
200 testing.assertEquals(attr.namespaceURI, 'foo:');
214 testing.assertEquals(foo.toXML(), '<foo />');
217 testing.assertEquals(foo.getAttributeNode('bar').toXML(), 'bar="baz"');
218 testing.assertEquals(foo.toXML(), '<foo bar="baz" />');
222 testing.assertEquals(parent.toXML(), '<parent><foo bar="baz" /></parent>');
225 testing.assertEquals(doc.toXML(), '<parent><foo bar="baz" /></parent>');
227 testing.assertEquals(global.dom.toXML(global.doc),
232 testing.assertEquals(elwithns.toXML(), '<bar xmlns="foo:" />');
233 testing.assertEquals(doc.toXML(), '<parent><foo bar="baz" />' +
241 testing.assertEquals(el1.toXML(),
249 testing.assertEquals(el1.toXML(),
254 testing.assertEquals(el1.toXML(),
268 testing.assertEquals(nodemap.length, 10);
269 testing.assertEquals(nodemap[0].nodeName.toLowerCase(), 'node-0');
270 testing.assertEquals(nodemap[0], nodemap.getNamedItem('node-0'));
271 testing.assertEquals(nodemap[nodemap.length - 1],
275 testing.assertEquals(nodemap.length, 9);
276 testing.assertEquals(nodemap[3], nodes[3]);
277 testing.assertEquals(nodemap[4], nodes[5]);
278 testing.assertEquals(nodemap[8], nodes[9]);
290 testing.assertEquals(clone.nodeName.toLowerCase(), 'baz');
294 testing.assertEquals(clone.nodeName.toLowerCase(), 'baz');
296 testing.assertEquals(clone.childNodes.length, 1);
297 testing.assertEquals(clone.childNodes[0].nodeName.toLowerCase(), 'foo');
298 testing.assertEquals(clone.childNodes[0].attributes.length, 1);
299 testing.assertEquals(
301 testing.assertEquals(clone.childNodes[0].getAttribute('bar'), 'bar');
309 testing.assertEquals(doc.documentElement.nodeName, 'foo');
310 testing.assertEquals(doc.childNodes.length, 1);
311 testing.assertEquals(doc.documentElement.childNodes.length, 0);
315 testing.assertEquals(doc.documentElement.nodeName, 'foo');
316 testing.assertEquals(doc.documentElement.childNodes.length, 1);
317 testing.assertEquals(doc.documentElement.childNodes[0].nodeName, 'bar');
322 testing.assertEquals(bar.attributes.length, 1);
323 testing.assertEquals(bar.attributes[0].nodeName, 'baz');
324 testing.assertEquals(bar.attributes[0].nodeValue, 'baz');
328 testing.assertEquals(doc.documentElement.namespaceURI, 'bar:');
329 testing.assertEquals(doc.documentElement.prefix, null);
333 testing.assertEquals(doc.documentElement.nodeName, 'foo:bar');
334 testing.assertEquals(doc.documentElement.localName, 'bar');
335 testing.assertEquals(doc.documentElement.prefix, 'foo');
336 testing.assertEquals(doc.documentElement.namespaceURI, 'baz:');
340 testing.assertEquals(doc.documentElement.childNodes.length, 1);
341 testing.assertEquals(doc.documentElement.firstChild.nodeType, 3);
342 testing.assertEquals(doc.documentElement.firstChild.nodeValue, 'bar');
346 testing.assertEquals(doc.documentElement.attributes.length, 1);
347 testing.assertEquals(doc.documentElement.attributes[0].nodeName,
349 testing.assertEquals(doc.documentElement.attributes[0].localName, 'baz');
350 testing.assertEquals(doc.documentElement.attributes[0].nodeValue, 'qux');
351 testing.assertEquals(doc.documentElement.attributes[0].namespaceURI,
353 testing.assertEquals(doc.documentElement.attributes[0].prefix, 'bar');
358 testing.assertEquals(doc.toXML(), xml8);
364 testing.assertEquals(doc.toXML(), expected);