public void AreFilesOutOfDate_LocalLessThan_Current() { PackageInstaller pkgInstaller = new PackageInstaller(); IInstallSettings currentSettings = pkgInstaller.ReadInstallSettings(Consts.settingsXml01); string filePath = this.WriteTextToTempFile(Consts.settingsXml_Version05); bool result = pkgInstaller.AreExistingFilesOutOfDate(currentSettings, filePath); Assert.IsTrue(result); }
public void InstallFilesTest01() { // TODO: delete files which reside in the install location locally try { PackageInstaller pkgInstaller = new PackageInstaller(); IInstallSettings settings = pkgInstaller.ReadInstallSettings(Consts.settingsXml01); pkgInstaller.InstallFiles(settings); } catch (Exception ex) { throw ex; } // TODO: Some assertions here }