Exemplo n.º 1
0
        public void OnlyValidAppsCanBeUninstalled()
        {
            Assert.Throws <Device.NoAppSpecified>(() => device.Uninstall(null));
            var installableApp = new AppInfoTests.AppInfoWithMockDevice(PlatformName.Web);

            Assert.DoesNotThrow(() => device.Uninstall(installableApp));
        }
Exemplo n.º 2
0
		public void OnlyValidAppsCanBeUninstalled()
		{
			Assert.Throws<Device.NoAppSpecified>(() => device.Uninstall(null));
			var installableApp = new AppInfoTests.AppInfoWithMockDevice(PlatformName.Web);
			Assert.DoesNotThrow(() => device.Uninstall(installableApp));
		}