Searched refs:mock_get_root (Results 1 – 8 of 8) sorted by relevance
/tools/asuite/aidegen/lib/ |
D | common_util_unittest.py | 56 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 …]
|
D | eclipse_project_file_gen_unittest.py | 51 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
|
D | native_util_unittest.py | 171 def test_filter_out_rust_projects(self, mock_get_root, mock_get_json, argument 177 self.assertTrue(mock_get_root.called) 184 mock_get_root.mock_reset() 193 self.assertTrue(mock_get_root.called) 199 mock_get_root.mock_reset() 207 mock_get_root.return_value = 'a/b'
|
D | project_info_unittest.py | 132 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
|
D | project_file_gen_unittest.py | 111 mock_get_root, mock_write, mock_ignore_git, argument 114 mock_get_root.return_value = '/a/b' 281 def test_generate_ide_project_files(self, mock_project, mock_get_root, argument 287 mock_get_root.return_value = '/aosp'
|
/tools/asuite/aidegen/vscode/ |
D | vscode_workspace_file_gen_unittest.py | 37 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)
|
D | vscode_native_project_file_gen_unittest.py | 46 def test_create_c_cpp_properties_dict(self, mock_get_root, mock_isfile, argument 49 mock_get_root.return_value = '/root'
|
/tools/asuite/aidegen/ |
D | aidegen_main_unittest.py | 458 mock_get_rust, mock_get_root, mock_gen, argument 465 self.assertFalse(mock_get_root.called) 473 mock_get_root.mock_reset() 483 self.assertTrue(mock_get_root.called)
|