Lines Matching refs:ElementTree
25 from xml.etree import ElementTree
58 @mock.patch.object(ElementTree, 'parse')
83 self.jdk_table_xml._xml = ElementTree.parse(tmp_file)
91 self.jdk_table_xml._xml = ElementTree.parse(tmp_file)
99 self.jdk_table_xml._xml = ElementTree.parse(tmp_file)
115 test_result = ElementTree.tostring(self.jdk_table_xml._xml.getroot())
138 self.jdk_table_xml._xml = ElementTree.parse(tmp_file)
140 test_result = ElementTree.tostring(self.jdk_table_xml._xml.getroot())
144 @mock.patch.object(ElementTree.ElementTree, 'write')
173 self.jdk_table_xml._xml = ElementTree.fromstring(xml_str)
177 self.jdk_table_xml._xml = ElementTree.fromstring(xml_str)
180 self.jdk_table_xml._xml = ElementTree.fromstring(xml_str)
195 self.jdk_table_xml._xml = ElementTree.fromstring(xml_str)
201 self.jdk_table_xml._xml = ElementTree.fromstring(xml_str)
208 self.jdk_table_xml._xml = ElementTree.fromstring(xml_str)
215 self.jdk_table_xml._xml = ElementTree.fromstring(xml_str)
218 self.jdk_table_xml._xml = ElementTree.fromstring(xml_str)
256 test_result = ElementTree.tostring(self.jdk_table_xml._xml.getroot())