Home
last modified time | relevance | path

Searched refs:mock_get_root (Results 1 – 7 of 7) sorted by relevance

/tools/asuite/aidegen/lib/
Dcommon_util_unittest.py56 def test_get_related_paths(self, mock_get_root, mock_is_abspath, mock_cwd): argument
65 mock_get_root.return_value = unittest_constants.TEST_PATH
83 mock_get_root.return_value = '/a'
89 mock_get_root.return_value = '/a'
98 self, mock_get_root, mock_is_root, mock_getcwd): argument
101 mock_get_root.return_value = '/a'
138 def test_is_target_android_root(self, mock_get_rel, mock_get_root): argument
142 mock_get_root.return_value = True
147 mock_get_root.return_value = False
157 mock_get_root): argument
[all …]
Declipse_project_file_gen_unittest.py51 def test_gen_link(self, mock_get_root): argument
53 mock_get_root.return_value = '/a'
61 def test_create_project_content(self, mock_get_root, mock_out_dir, argument
64 mock_get_root.return_value = self._ROOT_PATH
77 def test_gen_src_path_entries(self, mock_get_root, mock_exist_android_bp): argument
79 mock_get_root.return_value = self._ROOT_PATH
108 def test_gen_jar_path_entries(self, mock_get_root): argument
110 mock_get_root.return_value = self._ROOT_PATH
Dnative_util_unittest.py170 def test_filter_out_rust_projects(self, mock_get_root, mock_get_json, argument
176 self.assertTrue(mock_get_root.called)
183 mock_get_root.mock_reset()
192 self.assertTrue(mock_get_root.called)
198 mock_get_root.mock_reset()
206 mock_get_root.return_value = 'a/b'
Dproject_info_unittest.py132 def test_get_target_name(self, mock_get_root): argument
134 mock_get_root.return_value = unittest_constants.TEST_DATA_PATH
151 mock_get_root, mock_info): argument
156 mock_get_root.return_value = test_root_path
194 mock_module_info, mock_get_root, argument
200 mock_get_root.return_value = test_root_path
Dproject_file_gen_unittest.py111 mock_get_root, mock_write, mock_ignore_git, argument
114 mock_get_root.return_value = '/a/b'
268 def test_generate_ide_project_files(self, mock_project, mock_get_root, argument
274 mock_get_root.return_value = '/aosp'
/tools/asuite/aidegen/vscode/
Dvscode_workspace_file_gen_unittest.py37 self, mock_get_root, mock_ws_content, mock_get_unique): argument
39 mock_get_root.return_value = 'a/b'
42 self.assertTrue(mock_get_root.called)
/tools/asuite/aidegen/
Daidegen_main_unittest.py415 mock_get_rust, mock_get_root, mock_gen, argument
422 self.assertFalse(mock_get_root.called)
430 mock_get_root.mock_reset()
440 self.assertTrue(mock_get_root.called)