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

Public Member Functions

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)
 

Static Public Member Functions

def ignore_error (error)
 

Public Attributes

 calls
 
 pid_to_system_pid
 

Static Public Attributes

string PIPE = "MOCK PIPE"
 
string STDOUT = "MOCK STDOUT"
 

Constructor & Destructor Documentation

◆ __init__()

def webkitpy.common.system.executive_mock.MockExecutive.__init__ (   self,
  should_log = False,
  should_throw = False,
  should_throw_when_run = None 
)

Member Function Documentation

◆ 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 
)

Member Data Documentation

◆ 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: