Home
last modified time | relevance | path

Searched refs:ElementTree (Results 1 – 22 of 22) sorted by relevance

/tools/asuite/aidegen/sdk/
Djdk_table_unittest.py25 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)
[all …]
Djdk_table.py37 from xml.etree import ElementTree
160 ElementTree.tostring(self._xml.getroot()), '')
222 node = ElementTree.fromstring(new_config)
255 ElementTree.tostring(self._xml.getroot()), '')
/tools/asuite/aidegen/lib/
Dxml_util_unittest.py21 from xml.etree import ElementTree
34 @mock.patch.object(ElementTree, 'parse')
37 mock_parse.return_value = ElementTree.ElementTree()
40 mock_parse.side_effect = ElementTree.ParseError()
Dxml_util.py19 from xml.etree import ElementTree
36 return ElementTree.parse(xml_file)
37 except ElementTree.ParseError as err:
Dide_util_unittest.py27 from xml.etree import ElementTree
273 @mock.patch.object(ElementTree.ElementTree, 'write')
276 @mock.patch.object(ElementTree, 'parse')
277 @mock.patch.object(ElementTree.ElementTree, 'getroot')
289 mock_parse.return_value = ElementTree.ElementTree()
290 mock_root.return_value = ElementTree.fromstring(
295 mock_root.return_value = ElementTree.fromstring(self._TEST_XML_CONTENT)
Dcommon_util.py34 from xml.etree import ElementTree
691 ElementTree.tostring(root)).toprettyxml(indent)
Dcommon_util_unittest.py23 from xml.etree import ElementTree
363 root = ElementTree.fromstring(self._TEST_XML_CONTENT)
Dide_util.py40 from xml.etree import ElementTree
277 ElementTree.fromstring(_TEST_MAPPING_TYPE))
/tools/asuite/aidegen/idea/
Dxml_gen.py38 from xml.etree import ElementTree
107 parent.append(ElementTree.fromstring(node_str))
108 except ElementTree.ParseError as xml_err:
Dxml_gen_unittest.py25 from xml.etree import ElementTree
62 ElementTree.SubElement(node, 'a', attrib={'name': 'b'})
/tools/platform-compat/build/
Dprocess_compat_config.py25 import xml.etree.ElementTree as ET
56 self.tree = ET.ElementTree()
101 new_tree = ET.ElementTree()
/tools/treble/split/
Dmanifest_split_test.py22 import xml.etree.ElementTree as ET
179 ET.ElementTree(ET.fromstring(manifest_contents)), input_projects,
189 manifest = ET.ElementTree(ET.fromstring('<manifest></manifest>'))
Dmanifest_split.py70 import xml.etree.ElementTree as ET
/tools/tradefederation/core/atest/test_finders/
Dtf_integration_finder.py23 import xml.etree.ElementTree as ElementTree namespace
95 tree = ElementTree.parse(path)
Dtest_finder_utils.py27 import xml.etree.ElementTree as ET
/tools/asuite/atest/test_finders/
Dtf_integration_finder.py25 import xml.etree.ElementTree as ElementTree namespace
97 tree = ElementTree.parse(path)
Dtest_finder_utils.py30 import xml.etree.ElementTree as ET
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/
Dcontest.py19 from xml.etree import ElementTree
241 xml_tree = ElementTree.ElementTree()
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py29 import xml.etree.ElementTree
171 tree = xml.etree.ElementTree.parse(filename)
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dlatency.py36 import xml.etree.ElementTree as ET
/tools/test/connectivity/acts/framework/acts/controllers/
Dbluetooth_pts_device.py57 import xml.etree.ElementTree as ET
60 from xml.etree.ElementTree import Element
/tools/treble/build/sandbox/
Doverlay.py29 import xml.etree.ElementTree as ET