Esempio n. 1
0
		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);
		}
Esempio n. 2
0
 public InstallationFailedOnDevice(Device device, AppInfo app)
     : base(app.Name + " on " + device)
 {
 }
Esempio n. 3
0
 public AppNotInstalled(Device device, AppInfo app)
     : base(app.Name + " on " + device)
 {
 }
Esempio n. 4
0
		private void TryLaunchApp(AppInfo appInfo, Device device)
		{
			UpdateBuildProgressBar("App launched", 100);
			device.Launch(appInfo);
		}
Esempio n. 5
0
		private void LaunchApp(AppInfo appInfo, Device device)
		{
			try
			{
				TryLaunchApp(appInfo, device);
			}
			catch (Device.StartApplicationFailedOnDevice ex)
			{
				AppInfoExtensions.LogStartingAppFailed(appInfo, ex.DeviceName);
			}
		}
Esempio n. 6
0
 private void TryLaunchApp(AppInfo appInfo, Device device)
 {
     try
     {
         UpdateBuildProgressBar("App launched", 100);
         device.Launch(appInfo);
     }
     catch (Device.StartApplicationFailedOnDevice ex)
     {
         AppInfoExtensions.LogStartingAppFailed(appInfo, ex.DeviceName);
     }
 }