Home
last modified time | relevance | path

Searched refs:mock_get_rel (Results 1 – 3 of 3) sorted by relevance

/tools/asuite/aidegen/
Daidegen_main_unittest.py369 self, mock_get_rel, mock_gen_code, mock_launch_ide): argument
371 mock_get_rel.return_value = 'rel', 'abs'
373 self.assertTrue(mock_get_rel.called)
382 self, mock_get_rel, mock_gen_code, mock_get_ide): argument
384 mock_get_rel.return_value = 'rel', 'abs'
387 self.assertTrue(mock_get_rel.called)
397 self, mock_get_rel, mock_gen_code, mock_get_ide, mock_vscode): argument
399 mock_get_rel.return_value = 'rel', 'abs'
401 self.assertFalse(mock_get_rel.called)
466 def test_get_cc_project_paths(self, mock_mod_info, mock_gen, mock_get_rel, argument
[all …]
/tools/asuite/aidegen/lib/
Dproject_config_unittest.py150 def test_transform_exclusive_paths(self, mock_get_rel): argument
153 self.assertFalse(mock_get_rel.called)
157 mock_get_rel.reset_mock()
158 mock_get_rel.return_value = rel_path, abs_path
Dcommon_util_unittest.py138 def test_is_target_android_root(self, mock_get_rel, mock_get_root): argument
141 mock_get_rel.return_value = None, unittest_constants.TEST_PATH
146 mock_get_rel.return_value = None, ''