Searched refs:mock_get_root (Results 1 – 8 of 8) sorted by relevance
/tools/asuite/aidegen/lib/ |
D | common_util_unittest.py | 58 def test_get_related_paths(self, mock_get_root, mock_is_abspath, mock_cwd): argument 67 mock_get_root.return_value = unittest_constants.TEST_PATH 85 mock_get_root.return_value = '/a' 91 mock_get_root.return_value = '/a' 99 self, mock_get_root, mock_is_root, mock_getcwd): argument 102 mock_get_root.return_value = '/a' 139 def test_is_target_android_root(self, mock_get_rel, mock_get_root): argument 143 mock_get_root.return_value = True 148 mock_get_root.return_value = False 158 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 104 def test_gen_jar_path_entries(self, mock_get_root): argument 106 mock_get_root.return_value = self._ROOT_PATH
|
D | native_util_unittest.py | 170 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'
|
D | project_info_unittest.py | 131 def test_get_target_name(self, mock_get_root): argument 133 mock_get_root.return_value = unittest_constants.TEST_DATA_PATH 149 mock_get_root, mock_info): argument 154 mock_get_root.return_value = test_root_path 192 mock_module_info, mock_get_root, argument 198 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 | 47 def test_create_c_cpp_properties_dict(self, mock_get_root, mock_isfile, argument 50 mock_get_root.return_value = '/root'
|
/tools/asuite/aidegen/ |
D | aidegen_main_unittest.py | 469 mock_get_rust, mock_get_root, mock_gen, argument 476 self.assertFalse(mock_get_root.called) 484 mock_get_root.mock_reset() 494 self.assertTrue(mock_get_root.called)
|