Searched refs:mock_input (Results 1 – 9 of 9) sorted by relevance
/tools/asuite/atest/test_finders/ |
D | test_finder_utils_unittest.py | 209 def test_extract_selected_tests(self, mock_input): argument 218 mock_input.return_value = '1' 223 mock_input.return_value = '100' 227 mock_input.return_value = 'lOO' 233 def test_extract_test_from_multiselect(self, mock_input): argument 237 mock_input.return_value = '3' 245 mock_input.return_value = '0,2' 253 mock_input.return_value = '1-2' 259 mock_input.return_value = '0,1-2' 267 mock_input.return_value = '?/#' [all …]
|
/tools/asuite/aidegen/sdk/ |
D | jdk_table_unittest.py | 247 def test_override_xml(self, mock_input, mock_metrics): argument 249 mock_input.side_effect = ['1', 'n'] 251 self.assertEqual(mock_input.call_count, 2) 252 mock_input.side_effect = ['n'] 255 mock_input.side_effect = ['y'] 268 def test_skip_send_metrics(self, mock_input, mock_metrics, mock_parse): argument 270 mock_input.side_effect = ['y']
|
D | android_sdk_unittest.py | 191 def test_path_analysis(self, mock_is_sdk_path, mock_input): argument 197 mock_input.return_value = '' 201 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 | 145 def test_init_ideintellij(self, mock_sys, mock_input, mock_set): argument 152 self.assertTrue(mock_input.called) 155 self.assertTrue(mock_input.called) 614 def test_eclipse_get_ide_cmd(self, mock_exists, mock_input): argument 629 mock_input.return_value = 'n'
|
D | module_info_util_unittest.py | 323 def test_build_failed_handle(self, mock_glob, mock_input): argument 326 mock_input.return_value = 'N'
|
/tools/asuite/atest/ |
D | atest_utils_unittest.py | 658 def test_prompt_with_yn_result(self, mock_input): argument 661 mock_input.return_value = '' 664 mock_input.return_value = 'y' 666 mock_input.return_value = 'nO'
|
D | cli_translator_unittest.py | 120 mock_input, argument 166 mock_input.return_value = 'Y' 474 def test_confirm_running(self, mock_input): argument 477 mock_input.return_value = 'N'
|