haikuwebkit/Tools/Scripts/webkitpy/xcode
Jonathan Bedard af830f09f0 [webkitpy] Stop relying on device.plist for simulated device state
https://bugs.webkit.org/show_bug.cgi?id=228974
<rdar://problem/81749547>

Reviewed by Stephanie Lewis.

* Scripts/webkitpy/xcode/simulated_device.py:
(SimulatedDeviceManager):
(SimulatedDeviceManager.populate_available_devices): Device state check is now shared between simulators.
(SimulatedDeviceManager._disambiguate_device_type): Only extract hardware family and type from candidate.
(SimulatedDevice.__init__): Device state check is now shared between simulators.
(SimulatedDevice.state): Use 'xcrun simctl list' instead of device.plist.
* Scripts/webkitpy/xcode/simulated_device_unittest.py:
(SimulatedDeviceTest.change_state_to): Deleted.
(SimulatedDeviceTest.test_swapping_devices): Deleted.


Canonical link: https://commits.webkit.org/240419@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-11 04:09:33 +00:00
..
__init__.py
device_type.py [run-webkit-tests] Set software_variant from runtime 2021-07-02 04:05:41 +00:00
device_type_unittest.py [run-webkit-tests] Set software_variant from runtime 2021-07-02 04:05:41 +00:00
sdk.py
sdk_unittest.py
simulated_device.py [webkitpy] Stop relying on device.plist for simulated device state 2021-08-11 04:09:33 +00:00
simulated_device_unittest.py [webkitpy] Stop relying on device.plist for simulated device state 2021-08-11 04:09:33 +00:00