Lines Matching refs:element
83 "attribute numbers differ in element " + actual_node.tagName)
89 "expected attribute %s not found in element %s" %
92 " values of attribute %s in element %s differ" %
99 "number of child elements differ in element " + actual_node.tagName)
102 '<%s> is not in <%s> (in element %s)' %
113 def _GetChildren(self, element):
115 Fetches all of the child nodes of element, a DOM Element object.
121 "detail". An exception is raised if any element other than the above
127 for child in element.childNodes:
130 "Encountered unknown element <%s>" % child.tagName)
146 def NormalizeXml(self, element):
163 if element.tagName in ("testsuites", "testsuite", "testcase"):
164 time = element.getAttributeNode("time")
166 type_param = element.getAttributeNode("type_param")
169 elif element.tagName == "failure":
170 for child in element.childNodes:
177 for child in element.childNodes: