Home
last modified time | relevance | path

Searched refs:call_args_list (Results 1 – 15 of 15) sorted by relevance

/external/toolchain-utils/crosperf/
Dschedv2_unittest.py134 self.assertEquals(len(reader.call_args_list[0][0][1]), 4)
135 self.assertEquals(len(reader.call_args_list[1][0][1]), 4)
136 self.assertEquals(len(reader.call_args_list[2][0][1]), 4)
137 self.assertEquals(len(reader.call_args_list[3][0][1]), 4)
138 self.assertEquals(len(reader.call_args_list[4][0][1]), 2)
150 self.assertEquals(len(reader.call_args_list[0][0][1]), 4)
151 self.assertEquals(len(reader.call_args_list[1][0][1]), 4)
152 self.assertEquals(len(reader.call_args_list[2][0][1]), 4)
153 self.assertEquals(len(reader.call_args_list[3][0][1]), 4)
165 self.assertEquals(len(reader.call_args_list[0][0][1]), 3)
[all …]
Dsuite_runner_unittest.py170 cmd = mock_cros_runcmd.call_args_list[0][0]
207 self.assertEqual(mock_cros_runcmd.call_args_list[0][0], ('reboot && exit',))
209 self.assertEqual(mock_sleep.call_args_list[0][0], (60,))
245 self.assertEqual(mock_cros_runcmd.call_args_list[0][0],
247 args_list = mock_chroot_runcmd.call_args_list[0][0]
248 args_dict = mock_chroot_runcmd.call_args_list[0][1]
272 args_list = mock_chroot_runcmd.call_args_list[0][0]
273 args_dict = mock_chroot_runcmd.call_args_list[0][1]
341 self.assertEqual(mock_runcmd.call_args_list[0][0], (
Ddownload_images_unittest.py120 self.assertEqual(len(mock_cmd_exec.RunCommand.call_args_list[0]), 2)
121 actual_arg = mock_cmd_exec.RunCommand.call_args_list[0][0]
130 repr(mock_cmd_exec.RunCommand.call_args_list[0][1]))
133 self.assertEqual(len(mock_cmd_exec.RunCommand.call_args_list[1]), 2)
134 actual_arg = mock_cmd_exec.RunCommand.call_args_list[1][0]
140 self.assertTrue('{}' in repr(mock_cmd_exec.RunCommand.call_args_list[1][1]))
Dresults_cache_unittest.py231 first_args = mock_copyfiles.call_args_list[0][0]
232 second_args = mock_copyfiles.call_args_list[1][0]
233 third_args = mock_copyfiles.call_args_list[2][0]
245 self.assertEqual(mock_runcmd.call_args_list[0],
246 mock_runcmd.call_args_list[1])
247 self.assertEqual(mock_runcmd.call_args_list[0],
248 mock_runcmd.call_args_list[2])
249 self.assertEqual(mock_runcmd.call_args_list[0][0], ('mkdir -p /tmp/test',))
270 self.assertEqual(len(mockCopyFilesTo.call_args_list), 2)
271 self.assertEqual(mockCopyFilesTo.call_args_list[0][0],
[all …]
Dsettings_unittest.py206 self.assertEqual(mock_run.call_args_list[0][0],
214 self.assertEqual(mock_run.call_args_list[0][0],
221 self.assertEqual(mock_run.call_args_list[0][0],
Dmachine_manager_unittest.py720 self.assertEqual(mock_md5sum.call_args_list[0][0][0],
722 self.assertEqual(mock_md5sum.call_args_list[1][0][0], 'machine_id1')
744 first_args = mock_run_cmd.call_args_list[0]
745 second_args = mock_run_cmd.call_args_list[1]
772 call_args = mock_run_cmd.call_args_list[0]
792 call_args = mock_run_cmd.call_args_list[0]
Dexperiment_runner_unittest.py429 self.assertEqual(len(mock_writefile.call_args_list), 3)
430 first_args = mock_writefile.call_args_list[0]
431 second_args = mock_writefile.call_args_list[1]
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dbase_config_unittest.py271 uploader_cs_mock.Insert.call_args_list)
273 uploader_cs_mock.Exists.call_args_list)
275 uploader_cs_mock.Copy.call_args_list)
277 uploader_cs_mock.Delete.call_args_list)
319 uploader_cs_mock.Insert.call_args_list)
321 uploader_cs_mock.Exists.call_args_list)
323 uploader_cs_mock.Copy.call_args_list)
325 uploader_cs_mock.Delete.call_args_list)
361 uploader_cs_mock.Insert.call_args_list)
363 uploader_cs_mock.Exists.call_args_list)
[all …]
/external/libmojo/third_party/catapult/devil/devil/android/
Dmd5sum_test.py115 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
138 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
162 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
184 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
204 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
230 self.assertEquals(3, len(device.RunShellCommand.call_args_list))
/external/chromium-trace/catapult/devil/devil/android/
Dmd5sum_test.py115 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
138 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
162 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
184 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
204 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
230 self.assertEquals(3, len(device.RunShellCommand.call_args_list))
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs_test.py134 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write
163 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write
/external/libmojo/third_party/catapult/devil/devil/android/sdk/
Dshared_prefs_test.py131 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write
158 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write
/external/pdfium/third_party/pymock/
Dmock.py319 funcopy.call_args_list = _CallList()
591 call_args_list = _delegating_property('call_args_list') variable in NonCallableMock
618 self.call_args_list = _CallList()
888 if kall not in self.call_args_list:
963 self.call_args_list.append(_Call((args, kwargs), two=True))
/external/python/cpython2/Lib/test/
D_mock_backport.py224 funcopy.call_args_list = _CallList()
503 call_args_list = _delegating_property('call_args_list') variable in NonCallableMock
534 self.call_args_list = _CallList()
842 actual = [self._call_matcher(c) for c in self.call_args_list]
922 self.call_args_list.append(_call)
/external/v8/tools/unittests/
Drun_perf_test.py178 self.assertEquals(expected, commands.Execute.call_args_list)