Home
last modified time | relevance | path

Searched refs:mock_input (Results 1 – 9 of 9) sorted by relevance

/tools/asuite/atest/test_finders/
Dtest_finder_utils_unittest.py209 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/
Djdk_table_unittest.py247 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']
Dandroid_sdk_unittest.py191 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/
Ddeployment_unittest.py51 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/
Dide_common_util_unittest.py92 def test_ask_preference(self, mock_glob, mock_input): argument
95 mock_input.return_value = '1'
100 mock_input.return_value = '2'
Dide_util_unittest.py145 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'
Dmodule_info_util_unittest.py323 def test_build_failed_handle(self, mock_glob, mock_input): argument
326 mock_input.return_value = 'N'
/tools/asuite/atest/
Datest_utils_unittest.py658 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'
Dcli_translator_unittest.py120 mock_input, argument
166 mock_input.return_value = 'Y'
474 def test_confirm_running(self, mock_input): argument
477 mock_input.return_value = 'N'