Home
last modified time | relevance | path

Searched refs:mock_parse (Results 1 – 4 of 4) sorted by relevance

/tools/asuite/aidegen/sdk/
Djdk_table_unittest.py59 def test_init(self, mock_parse, mock_exists, mock_gen_file): argument
65 mock_parse.return_value = None
67 self.assertTrue(mock_parse.called)
70 self.assertTrue(mock_parse.called)
263 def test_skip_send_metrics(self, mock_input, mock_metrics, mock_parse): argument
269 self.assertTrue(mock_parse.called)
/tools/asuite/aidegen/lib/
Dxml_util_unittest.py35 def test_parse_xml(self, mock_parse, mock_metrics, mock_read): argument
37 mock_parse.return_value = ElementTree.ElementTree()
40 mock_parse.side_effect = ElementTree.ParseError()
Dclion_project_file_gen_unittest.py401 self, mock_parse, mock_translate, mock_exists): argument
412 self.assertTrue(mock_parse.called)
420 self, mock_parse, mock_translate, mock_exists): argument
430 self.assertFalse(mock_parse.called)
Dide_util_unittest.py278 def test_add_test_mapping_file_type(self, mock_root, mock_parse, argument
286 mock_parse.return_value = None
289 mock_parse.return_value = ElementTree.ElementTree()