Searched refs:mock_input (Results 1 – 9 of 9) sorted by relevance
/tools/asuite/atest/test_finders/ |
D | test_finder_utils_unittest.py | 161 def test_extract_test_from_tests(self, mock_input): argument 169 mock_input.return_value = '1' 173 mock_input.return_value = '100' 176 mock_input.return_value = 'lOO' 181 def test_extract_test_from_multiselect(self, mock_input): argument 185 mock_input.return_value = '3' 191 mock_input.return_value = '0,2' 197 mock_input.return_value = '1-2' 202 mock_input.return_value = '0,1-2' 208 mock_input.return_value = '?/#' [all …]
|
/tools/tradefederation/core/atest/test_finders/ |
D | test_finder_utils_unittest.py | 158 def test_extract_test_from_tests(self, mock_input): argument 166 mock_input.return_value = '0' 170 mock_input.return_value = '100' 173 mock_input.return_value = 'lOO' 178 def test_extract_test_from_multiselect(self, mock_input): argument 182 mock_input.return_value = '3' 188 mock_input.return_value = '0,2' 194 mock_input.return_value = '1-2' 199 mock_input.return_value = '0,1-2' 205 mock_input.return_value = '?/#' [all …]
|
/tools/asuite/aidegen/sdk/ |
D | jdk_table_unittest.py | 242 def test_override_xml(self, mock_input, mock_metrics): argument 244 mock_input.side_effect = ['1', 'n'] 246 self.assertEqual(mock_input.call_count, 2) 247 mock_input.side_effect = ['n'] 250 mock_input.side_effect = ['y'] 263 def test_skip_send_metrics(self, mock_input, mock_metrics, mock_parse): argument 265 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/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 | 315 def test_build_failed_handle(self, mock_glob, mock_input): argument 318 mock_input.return_value = 'N'
|
/tools/asuite/atest/ |
D | cli_translator_unittest.py | 104 mock_findtestbymodule, mock_input): argument 140 mock_input.return_value = "Y" 341 def test_confirm_running(self, mock_input): argument 344 mock_input.return_value = 'N'
|
D | atest_utils_unittest.py | 296 def test_update_test_runner_cmd(self, mock_json_load_data, mock_input): argument 329 mock_input.return_value = 'n'
|