Lines Matching refs:patch
104 @mock.patch.object(ide_util, '_get_linux_ide')
105 @mock.patch.object(ide_util, '_get_mac_ide')
113 @mock.patch.object(ide_util.IdeBase, '_get_user_preference')
114 @mock.patch.object(config.AidegenConfig, 'set_preferred_version')
115 @mock.patch.object(ide_util.IdeEclipse, '_get_script_from_system')
116 @mock.patch.object(ide_util.IdeIntelliJ, '_get_preferred_version')
141 @mock.patch.object(ide_util.IdeIntelliJ, '_set_installed_path')
142 @mock.patch.object(ide_common_util, 'get_script_from_input_path')
143 @mock.patch.object(ide_util.IdeIntelliJ, '_get_script_from_system')
157 @mock.patch.object(ide_util.IdeIntelliJ, '_get_preferred_version')
158 @mock.patch.object(ide_util.IdeIntelliJ, '_get_config_root_paths')
159 @mock.patch.object(ide_util.IdeBase, 'apply_optional_config')
173 @mock.patch.object(ide_util.IdeIntelliJ, '_setup_ide')
174 @mock.patch.object(config.AidegenConfig, 'set_preferred_version')
175 @mock.patch.object(os.path, 'isfile')
176 @mock.patch.object(os.path, 'realpath')
177 @mock.patch.object(ide_common_util, 'get_script_from_input_path')
178 @mock.patch.object(ide_common_util, 'get_script_from_internal_path')
196 @mock.patch.object(config.AidegenConfig, 'set_preferred_version')
197 @mock.patch('glob.glob')
198 @mock.patch.object(ide_common_util, 'get_script_from_input_path')
199 @mock.patch.object(ide_common_util, 'get_script_from_internal_path')
227 @mock.patch.object(config.AidegenConfig, 'set_preferred_version')
228 @mock.patch('glob.glob')
229 @mock.patch.object(ide_common_util, 'get_script_from_input_path')
230 @mock.patch.object(ide_common_util, 'get_script_from_internal_path')
242 @mock.patch.object(ide_util.IdeBase, '_add_test_mapping_file_type')
243 @mock.patch.object(config.IdeaProperties, 'set_max_file_size')
244 @mock.patch.object(project_file_gen, 'gen_enable_debugger_module')
245 @mock.patch.object(jdk_table.JDKTableXML, 'config_jdk_table_xml')
246 @mock.patch.object(ide_util.IdeBase, '_get_config_root_paths')
272 @mock.patch('os.path.isfile')
273 @mock.patch.object(ElementTree.ElementTree, 'write')
274 @mock.patch.object(common_util, 'to_pretty_xml')
275 @mock.patch.object(common_util, 'file_generate')
276 @mock.patch.object(ElementTree, 'parse')
277 @mock.patch.object(ElementTree.ElementTree, 'getroot')
300 @mock.patch('os.path.realpath')
301 @mock.patch('os.path.isfile')
316 @mock.patch.object(config.AidegenConfig, 'set_preferred_version')
317 @mock.patch('os.path.isfile')
351 @mock.patch.object(config.AidegenConfig, 'set_preferred_version')
352 @mock.patch.object(ide_util.IdeIntelliJ, '_get_preferred_version')
363 @mock.patch.object(config.AidegenConfig, 'set_preferred_version')
364 @mock.patch.object(ide_util.IdeIntelliJ, '_get_preferred_version')
365 @mock.patch.object(ide_util.IdeUtil, 'is_ide_installed')
377 @mock.patch.object(ide_common_util, 'get_scripts_from_dir_path')
378 @mock.patch.object(ide_common_util, '_run_ide_sh')
379 @mock.patch('logging.info')
416 @mock.patch.object(config.AidegenConfig, 'set_preferred_version')
417 @mock.patch.object(config.AidegenConfig, 'preferred_version')
418 @mock.patch.object(ide_common_util, 'ask_preference')
419 @mock.patch.object(config.AidegenConfig, 'deprecated_intellij_version')
420 @mock.patch.object(ide_util.IdeIntelliJ, '_get_all_versions')
469 @mock.patch.object(ide_util.IdeBase, '_add_test_mapping_file_type')
470 @mock.patch.object(ide_common_util, 'ask_preference')
471 @mock.patch.object(config.IdeaProperties, 'set_max_file_size')
472 @mock.patch.object(project_file_gen, 'gen_enable_debugger_module')
473 @mock.patch.object(ide_util.IdeStudio, '_get_config_root_paths')
497 @mock.patch.object(ide_common_util, 'ask_preference')
505 @mock.patch.object(ide_util.IdeBase, 'apply_optional_config')
506 @mock.patch.object(os.path, 'isdir')
507 @mock.patch.object(os.path, 'isfile')
545 @mock.patch.object(ide_common_util, 'ask_preference')
546 @mock.patch('os.getenv')
560 @mock.patch('os.getenv')
576 @mock.patch('os.access')
577 @mock.patch('glob.glob')
611 @mock.patch('builtins.input')
612 @mock.patch('os.path.exists')
633 @mock.patch.object(ide_util.IdeUtil, 'is_ide_installed')
634 @mock.patch.object(project_config.ProjectConfig, 'get_instance')
651 @mock.patch.object(ide_util.IdeLinuxVSCode, '_init_installed_path')
652 @mock.patch.object(ide_util.IdeLinuxVSCode, '_get_possible_bin_paths')
659 @mock.patch.object(ide_util.IdeMacVSCode, '_init_installed_path')
660 @mock.patch.object(ide_util.IdeMacVSCode, '_get_possible_bin_paths')