Home
last modified time | relevance | path

Searched refs:mock_config (Results 1 – 5 of 5) sorted by relevance

/tools/asuite/aidegen/
Daidegen_main_unittest.py98 def test_generate_project_files(self, mock_eclipse, mock_ide, mock_config, argument
105 mock_config.ide_name = constant.IDE_ECLIPSE
108 mock_config.ide_name = constant.IDE_ANDROID_STUDIO
111 mock_config.ide_name = constant.IDE_INTELLIJ
508 def test_aidegen_main(self, mock_config, mock_get_ide, mock_mod_info, argument
516 mock_config.return_value = config
521 self.assertTrue(mock_config.called)
529 mock_config.mock_reset()
539 self.assertTrue(mock_config.called)
/tools/asuite/atest/test_runners/
Datest_tf_test_runner_unittest.py564 def test_create_test_args(self, mock_config): argument
568 mock_config.return_value = '', ''
750 def test_has_instant_app_config(self, mock_config): argument
757 mock_config.return_value = instant_config, ''
762 mock_config.return_value = no_instant_config, ''
797 def test_is_parameter_auto_enabled_cfg(self, mock_config, mock_cfg_para): argument
800 mock_config.return_value = 'test_config', ''
827 self, mock_config, _mock_is_enable): argument
830 mock_config.return_value = '', ''
838 def test_parse_extra_args(self, mock_config, _mock_is_enable): argument
[all …]
/tools/asuite/aidegen/lib/
Dproject_file_gen_unittest.py78 def test_generate_modules_xml(self, mock_project, mock_config): argument
80 mock_config.is_launch_ide = True
180 def test_update_enable_debugger(self, mock_project, mock_config): argument
182 mock_config.is_launch_ide = True
Dide_util_unittest.py160 def test_config_ide(self, mock_config, mock_paths, mock_preference): argument
170 self.assertFalse(mock_config.called)
635 def test_get_ide_util_instance(self, mock_config, mock_ide_installed): argument
638 mock_instance = mock_config.return_value
Dsource_locator_unittest.py511 def test_collect_dep_paths(self, mock_config, mock_get_paths, argument
521 mock_instance = mock_config.return_value