webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
def | __init__ (self, name, udid, available, runtime, host) |
def | state (self) |
def | path (self) |
def | create (cls, name, device_type, runtime) |
def | shutdown (cls, udid) |
def | delete (cls, udid) |
def | reset (cls, udid) |
def | install_app (self, app_path, env=None) |
def | launch_app (self, bundle_id, args, env=None, attempts=3) |
def | __repr__ (self) |
Public Member Functions inherited from webkitpy.xcode.device.Device | |
def | __init__ (self, name, udid, host) |
def | install_app (self, app_path, env=None) |
def | launch_app (self, bundle_id, args, env=None) |
def | __eq__ (self, other) |
def | __ne__ (self, other) |
def | __repr__ (self) |
Public Attributes | |
available | |
runtime | |
Public Attributes inherited from webkitpy.xcode.device.Device | |
name | |
udid | |
Represents a CoreSimulator device underneath a runtime
def webkitpy.xcode.simulated_device.SimulatedDevice.__init__ | ( | self, | |
name, | |||
udid, | |||
available, | |||
runtime, | |||
host | |||
) |
:param name: The device name :type name: str :param udid: The device UDID (a UUID string) :type udid: str :param available: Whether the device is available for use. :type available: bool :param runtime: The iOS Simulator runtime that hosts this device :type runtime: Runtime :param host: The host which can run command line commands :type host: Host
def webkitpy.xcode.simulated_device.SimulatedDevice.__repr__ | ( | self | ) |
def webkitpy.xcode.simulated_device.SimulatedDevice.create | ( | cls, | |
name, | |||
device_type, | |||
runtime | |||
) |
Create a new CoreSimulator device. :param name: The name of the device. :type name: str :param device_type: The CoreSimulatort device type. :type device_type: DeviceType :param runtime: The CoreSimualtor runtime. :type runtime: Runtime :return: The new device or raises a CalledProcessError if ``simctl create`` failed. :rtype: Device
def webkitpy.xcode.simulated_device.SimulatedDevice.delete | ( | cls, | |
udid | |||
) |
Delete the given CoreSimulator device. :param udid: The udid of the device. :type udid: str
def webkitpy.xcode.simulated_device.SimulatedDevice.install_app | ( | self, | |
app_path, | |||
env = None |
|||
) |
def webkitpy.xcode.simulated_device.SimulatedDevice.launch_app | ( | self, | |
bundle_id, | |||
args, | |||
env = None , |
|||
attempts = 3 |
|||
) |
def webkitpy.xcode.simulated_device.SimulatedDevice.path | ( | self | ) |
:returns: The filesystem path that contains the simulator device's data. :rtype: str
def webkitpy.xcode.simulated_device.SimulatedDevice.reset | ( | cls, | |
udid | |||
) |
Reset the given CoreSimulator device. :param udid: The udid of the device. :type udid: str
def webkitpy.xcode.simulated_device.SimulatedDevice.shutdown | ( | cls, | |
udid | |||
) |
Shut down the given CoreSimulator device. :param udid: The udid of the device. :type udid: str
def webkitpy.xcode.simulated_device.SimulatedDevice.state | ( | self | ) |
:returns: The current state of the device. :rtype: Simulator.DeviceState
webkitpy.xcode.simulated_device.SimulatedDevice.available |
webkitpy.xcode.simulated_device.SimulatedDevice.runtime |