|
| def | __init__ (self, should_log=False, should_throw=False, should_throw_when_run=None) |
| |
| def | check_running_pid (self, pid) |
| |
| def | running_pids (self, process_name_filter) |
| |
| def | run_and_throw_if_fail (self, args, quiet=False, cwd=None, env=None) |
| |
| def | command_for_printing (self, args) |
| |
| def | run_command (self, args, cwd=None, input=None, error_handler=None, return_exit_code=False, return_stderr=True, decode_output=False, env=None) |
| |
| def | cpu_count (self) |
| |
| def | kill_all (self, process_name) |
| |
| def | kill_process (self, pid) |
| |
| def | popen (self, args, cwd=None, env=None, kwargs) |
| |
| def | run_in_parallel (self, commands) |
| |
◆ __init__()
| def webkitpy.common.system.executive_mock.MockExecutive.__init__ |
( |
|
self, |
|
|
|
should_log = False, |
|
|
|
should_throw = False, |
|
|
|
should_throw_when_run = None |
|
) |
| |
◆ check_running_pid()
| def webkitpy.common.system.executive_mock.MockExecutive.check_running_pid |
( |
|
self, |
|
|
|
pid |
|
) |
| |
◆ command_for_printing()
| def webkitpy.common.system.executive_mock.MockExecutive.command_for_printing |
( |
|
self, |
|
|
|
args |
|
) |
| |
◆ cpu_count()
| def webkitpy.common.system.executive_mock.MockExecutive.cpu_count |
( |
|
self | ) |
|
◆ ignore_error()
| def webkitpy.common.system.executive_mock.MockExecutive.ignore_error |
( |
|
error | ) |
|
|
static |
◆ kill_all()
| def webkitpy.common.system.executive_mock.MockExecutive.kill_all |
( |
|
self, |
|
|
|
process_name |
|
) |
| |
◆ kill_process()
| def webkitpy.common.system.executive_mock.MockExecutive.kill_process |
( |
|
self, |
|
|
|
pid |
|
) |
| |
◆ popen()
| def webkitpy.common.system.executive_mock.MockExecutive.popen |
( |
|
self, |
|
|
|
args, |
|
|
|
cwd = None, |
|
|
|
env = None, |
|
|
|
kwargs |
|
) |
| |
◆ run_and_throw_if_fail()
| def webkitpy.common.system.executive_mock.MockExecutive.run_and_throw_if_fail |
( |
|
self, |
|
|
|
args, |
|
|
|
quiet = False, |
|
|
|
cwd = None, |
|
|
|
env = None |
|
) |
| |
◆ run_command()
| def webkitpy.common.system.executive_mock.MockExecutive.run_command |
( |
|
self, |
|
|
|
args, |
|
|
|
cwd = None, |
|
|
|
input = None, |
|
|
|
error_handler = None, |
|
|
|
return_exit_code = False, |
|
|
|
return_stderr = True, |
|
|
|
decode_output = False, |
|
|
|
env = None |
|
) |
| |
◆ run_in_parallel()
| def webkitpy.common.system.executive_mock.MockExecutive.run_in_parallel |
( |
|
self, |
|
|
|
commands |
|
) |
| |
◆ running_pids()
| def webkitpy.common.system.executive_mock.MockExecutive.running_pids |
( |
|
self, |
|
|
|
process_name_filter |
|
) |
| |
◆ calls
| webkitpy.common.system.executive_mock.MockExecutive.calls |
◆ pid_to_system_pid
| webkitpy.common.system.executive_mock.MockExecutive.pid_to_system_pid |
◆ PIPE
| string webkitpy.common.system.executive_mock.MockExecutive.PIPE = "MOCK PIPE" |
|
static |
◆ STDOUT
| string webkitpy.common.system.executive_mock.MockExecutive.STDOUT = "MOCK STDOUT" |
|
static |
The documentation for this class was generated from the following file: