driver_unittest.py | 153 def assert_crash(driver, error_line, crashed, name, pid, unresponsive=False): function in function:DriverTest.test_check_for_driver_crash 161 assert_crash(driver, '', False, None, None) 167 assert_crash(driver, '#CRASHED\n', True, 'FakeServerProcess', 1234) 173 assert_crash(driver, '#CRASHED - WebProcess\n', True, 'WebProcess', None) 179 assert_crash(driver, '#CRASHED - WebProcess (pid 8675)\n', True, 'WebProcess', 8675) 185 assert_crash(driver, '#PROCESS UNRESPONSIVE - WebProcess (pid 8675)\n', True, 'WebProcess', 8675, True) 191 assert_crash(driver, '#CRASHED - renderer (pid 8675)\n', True, 'renderer', 8675) 197 assert_crash(driver, '', True, 'FakeServerProcess', 1234)
|