/tools/asuite/atest-py2/test_finders/ |
D | test_finder_utils_unittest.py | 157 def test_extract_test_from_tests(self, mock_input): argument 165 mock_input.return_value = '0' 169 mock_input.return_value = '100' 172 mock_input.return_value = 'lOO' 177 def test_extract_test_from_multiselect(self, mock_input): argument 181 mock_input.return_value = '3' 187 mock_input.return_value = '0,2' 193 mock_input.return_value = '1-2' 198 mock_input.return_value = '0,1-2' 204 mock_input.return_value = '?/#' [all …]
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils_unittest.py | 194 def test_extract_test_from_tests(self, mock_input): argument 202 mock_input.return_value = '1' 206 mock_input.return_value = '100' 209 mock_input.return_value = 'lOO' 214 def test_extract_test_from_multiselect(self, mock_input): argument 218 mock_input.return_value = '3' 224 mock_input.return_value = '0,2' 230 mock_input.return_value = '1-2' 235 mock_input.return_value = '0,1-2' 241 mock_input.return_value = '?/#' [all …]
|
/tools/asuite/aidegen/sdk/ |
D | jdk_table_unittest.py | 246 def test_override_xml(self, mock_input, mock_metrics): argument 248 mock_input.side_effect = ['1', 'n'] 250 self.assertEqual(mock_input.call_count, 2) 251 mock_input.side_effect = ['n'] 254 mock_input.side_effect = ['y'] 267 def test_skip_send_metrics(self, mock_input, mock_metrics, mock_parse): argument 269 mock_input.side_effect = ['y']
|
D | android_sdk_unittest.py | 159 def test_path_analysis(self, mock_is_sdk_path, mock_input): argument 165 mock_input.return_value = '' 169 mock_input.return_value = 'a/b'
|
/tools/asuite/plugin_lib/ |
D | deployment_unittest.py | 51 def test_ask_for_install(self, mock_input): argument 53 mock_input.return_value = 'y' 55 self.assertTrue(mock_input.call)
|
/tools/asuite/aidegen/lib/ |
D | ide_common_util_unittest.py | 92 def test_ask_preference(self, mock_glob, mock_input): argument 95 mock_input.return_value = '1' 100 mock_input.return_value = '2'
|
D | ide_util_unittest.py | 144 def test_init_ideintellij(self, mock_sys, mock_input, mock_set): argument 151 self.assertTrue(mock_input.called) 154 self.assertTrue(mock_input.called) 613 def test_eclipse_get_ide_cmd(self, mock_exists, mock_input): argument 628 mock_input.return_value = 'n'
|
D | module_info_util_unittest.py | 324 def test_build_failed_handle(self, mock_glob, mock_input): argument 327 mock_input.return_value = 'N'
|
/tools/asuite/atest/ |
D | atest_utils_unittest.py | 311 def test_update_test_runner_cmd(self, mock_json_load_data, mock_input): argument 344 mock_input.return_value = 'n' 569 def test_prompt_with_yn_result(self, mock_input): argument 572 mock_input.return_value = '' 575 mock_input.return_value = 'y' 577 mock_input.return_value = 'nO'
|
D | cli_translator_unittest.py | 117 mock_input, _mock_update_test_info): argument 153 mock_input.return_value = "Y" 388 def test_confirm_running(self, mock_input): argument 391 mock_input.return_value = 'N'
|