Searched refs:mock_pe (Results 1 – 4 of 4) sorted by relevance
/tools/asuite/atest/test_runners/ |
D | robolectric_test_runner_unittest.py | 66 def test_exec_with_robo_polling_complete_information(self, mock_pe): argument 76 self.suite_tr. _exec_with_robo_polling(event_file, robo_proc, mock_pe) 78 mock_pe.assert_has_calls(calls) 81 def test_exec_with_robo_polling_with_partial_info(self, mock_pe): argument 95 self.suite_tr. _exec_with_robo_polling(event_file, robo_proc, mock_pe) 101 mock_pe.assert_has_calls(calls) 104 def test_exec_with_robo_polling_with_fail_stacktrace(self, mock_pe): argument 115 self.suite_tr. _exec_with_robo_polling(event_file, robo_proc, mock_pe) 117 mock_pe.assert_has_calls(calls) 120 def test_exec_with_robo_polling_with_multi_event(self, mock_pe): argument [all …]
|
D | atest_tf_test_runner_unittest.py | 329 def test_process_connection(self, mock_pe): argument 336 self.tr._process_connection(data_map, mock_socket, mock_pe) 339 mock_pe.assert_has_calls(calls) 341 self.assertFalse(self.tr._process_connection(data_map, mock_socket, mock_pe)) 344 def test_process_connection_multiple_lines_in_single_recv(self, mock_pe): argument 352 self.tr._process_connection(data_map, mock_socket, mock_pe) 354 mock_pe.assert_has_calls(calls) 357 def test_process_connection_with_buffering(self, mock_pe): argument 370 self.tr._process_connection(data_map, mock_socket, mock_pe) 371 self.tr._process_connection(data_map, mock_socket, mock_pe) [all …]
|
/tools/asuite/atest-py2/test_runners/ |
D | robolectric_test_runner_unittest.py | 62 def test_exec_with_robo_polling_complete_information(self, mock_pe): argument 72 self.suite_tr. _exec_with_robo_polling(event_file, robo_proc, mock_pe) 74 mock_pe.assert_has_calls(calls) 77 def test_exec_with_robo_polling_with_partial_info(self, mock_pe): argument 91 self.suite_tr. _exec_with_robo_polling(event_file, robo_proc, mock_pe) 94 mock_pe.assert_has_calls(calls) 97 def test_exec_with_robo_polling_with_fail_stacktrace(self, mock_pe): argument 108 self.suite_tr. _exec_with_robo_polling(event_file, robo_proc, mock_pe) 110 mock_pe.assert_has_calls(calls) 113 def test_exec_with_robo_polling_with_multi_event(self, mock_pe): argument [all …]
|
D | atest_tf_test_runner_unittest.py | 320 def test_process_connection(self, mock_pe): argument 327 self.tr._process_connection(datas, mock_socket, mock_pe) 330 mock_pe.assert_has_calls(calls) 332 self.assertFalse(self.tr._process_connection(datas, mock_socket, mock_pe)) 335 def test_process_connection_multiple_lines_in_single_recv(self, mock_pe): argument 343 self.tr._process_connection(datas, mock_socket, mock_pe) 345 mock_pe.assert_has_calls(calls) 348 def test_process_connection_with_buffering(self, mock_pe): argument 361 self.tr._process_connection(datas, mock_socket, mock_pe) 362 self.tr._process_connection(datas, mock_socket, mock_pe) [all …]
|