Searched refs:mock_config (Results 1 – 6 of 6) sorted by relevance
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner_unittest.py | 791 def test_create_test_args(self, mock_config): argument 795 mock_config.return_value = '', '' 920 def test_has_instant_app_config(self, mock_config): argument 929 mock_config.return_value = instant_config, '' 936 mock_config.return_value = no_instant_config, '' 985 def test_is_parameter_auto_enabled_cfg(self, mock_config, mock_cfg_para): argument 988 mock_config.return_value = 'test_config', '' 1027 self, mock_config, _mock_is_enable argument 1031 mock_config.return_value = '', '' 1040 def test_parse_extra_args(self, mock_config, _mock_is_enable): argument [all …]
|
/tools/asuite/aidegen/ |
D | aidegen_main_unittest.py | 97 def test_generate_project_files(self, mock_eclipse, mock_ide, mock_config, argument 104 mock_config.ide_name = constant.IDE_ECLIPSE 107 mock_config.ide_name = constant.IDE_ANDROID_STUDIO 110 mock_config.ide_name = constant.IDE_INTELLIJ 562 def test_aidegen_main(self, mock_config, mock_get_ide, mock_mod_info, argument 570 mock_config.return_value = config 575 self.assertTrue(mock_config.called) 585 mock_config.mock_reset() 595 self.assertTrue(mock_config.called)
|
/tools/asuite/aidegen/lib/ |
D | project_file_gen_unittest.py | 78 def test_generate_modules_xml(self, mock_project, mock_config): argument 80 mock_config.is_launch_ide = True 193 def test_update_enable_debugger(self, mock_project, mock_config): argument 195 mock_config.is_launch_ide = True
|
D | ide_util_unittest.py | 161 def test_config_ide(self, mock_config, mock_paths, mock_preference): argument 171 self.assertFalse(mock_config.called) 636 def test_get_ide_util_instance(self, mock_config, mock_ide_installed): argument 639 mock_instance = mock_config.return_value
|
D | source_locator_unittest.py | 506 def test_collect_dep_paths(self, mock_config, mock_get_paths, argument 516 mock_instance = mock_config.return_value
|
/tools/acloud/create/ |
D | avd_spec_test.py | 55 self.mock_config = mock.MagicMock() 56 self.mock_config.launch_args = None 57 self.Patch(config, 'GetAcloudConfig', return_value=self.mock_config) 548 self.mock_config.betty_image = 'from-config' 564 self.mock_config.connect_hostname = True 568 self.mock_config.connect_hostname = False
|