Exemple #1
0
 public void OneTimeSetUp()
 {
     currentDirectoryWhenTestStarted = Directory.GetCurrentDirectory();
     tempPath = Path.Combine(Path.GetTempPath(), "DotNetTempPath" + Guid.NewGuid().ToString().Replace("-", "").Substring(0, 10));
     Directory.CreateDirectory(tempPath);
     Directory.SetCurrentDirectory(tempPath);
     commandDirectoryCleanup = new CommandDirectoryCleanup();
     downloader = new NugetDownloader(commandDirectoryCleanup.CommandDirectory);
 }
 public void ClassInitialize()
 {
     commandDirectoryCleanup = new CommandDirectoryCleanup();
     downloader = new NugetDownloader(commandDirectoryCleanup.CommandDirectory);
 }