webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
webkitpy.common.system.executive_mock.MockExecutive2 Class Reference
Inheritance diagram for webkitpy.common.system.executive_mock.MockExecutive2:
webkitpy.common.system.executive_mock.MockExecutive

Public Member Functions

def __init__ (self, output='', exit_code=0, exception=None, run_command_fn=None, stderr='')
 
def run_command (self, args, cwd=None, input=None, error_handler=None, return_exit_code=False, return_stderr=True, decode_output=False, env=None)
 
- Public Member Functions inherited from webkitpy.common.system.executive_mock.MockExecutive
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)
 

Public Attributes

 calls
 
- Public Attributes inherited from webkitpy.common.system.executive_mock.MockExecutive
 calls
 
 pid_to_system_pid
 

Additional Inherited Members

- Static Public Member Functions inherited from webkitpy.common.system.executive_mock.MockExecutive
def ignore_error (error)
 
- Static Public Attributes inherited from webkitpy.common.system.executive_mock.MockExecutive
string PIPE = "MOCK PIPE"
 
string STDOUT = "MOCK STDOUT"
 

Detailed Description

MockExecutive2 is like MockExecutive except it doesn't log anything.

Constructor & Destructor Documentation

◆ __init__()

def webkitpy.common.system.executive_mock.MockExecutive2.__init__ (   self,
  output = '',
  exit_code = 0,
  exception = None,
  run_command_fn = None,
  stderr = '' 
)

Member Function Documentation

◆ run_command()

def webkitpy.common.system.executive_mock.MockExecutive2.run_command (   self,
  args,
  cwd = None,
  input = None,
  error_handler = None,
  return_exit_code = False,
  return_stderr = True,
  decode_output = False,
  env = None 
)

Member Data Documentation

◆ calls

webkitpy.common.system.executive_mock.MockExecutive2.calls

The documentation for this class was generated from the following file: