(&self, udid: &str)
| 320 | } |
| 321 | |
| 322 | pub fn simulator_has_fixed_orientation(&self, udid: &str) -> Result<bool, AppError> { |
| 323 | Ok(self |
| 324 | .simulator(udid)? |
| 325 | .as_ref() |
| 326 | .map(simulator_has_fixed_orientation) |
| 327 | .unwrap_or(false)) |
| 328 | } |
| 329 | |
| 330 | pub fn simulator_creation_options(&self) -> Result<serde_json::Value, AppError> { |
| 331 | let json = unsafe { |
no test coverage detected