public void LaunchAppOnDevice(Device device) { if (device == null) { throw new NoDeviceSpecified(); } Logger.Info("Launching App " + Name + " on " + device.Name); device.Launch(this); Logger.Info("Done Launching App " + Name); }
private void TryLaunchApp(AppInfo appInfo, Device device) { UpdateBuildProgressBar("App launched", 100); device.Launch(appInfo); }
private void TryLaunchApp(AppInfo appInfo, Device device) { try { UpdateBuildProgressBar("App launched", 100); device.Launch(appInfo); } catch (Device.StartApplicationFailedOnDevice ex) { AppInfoExtensions.LogStartingAppFailed(appInfo, ex.DeviceName); } }
// ncrunch: no coverage start public void LaunchAppOnDevice(Device device) { if (device == null) throw new NoDeviceSpecified(); Logger.Info("Launching App " + Name + " on " + device.Name); device.Launch(this); Logger.Info("Done Launching App " + Name); }