public void Simple() { var processor = new AddinFinder { SolutionDirectoryPath = Environment.CurrentDirectory }; processor.AddNugetDirectoryToAddinSearch(); var searchPaths = processor.AddinSearchPaths; var expected = Path.Combine(Environment.CurrentDirectory, "Packages"); Assert.AreEqual(expected , searchPaths[0]); }
public void Simple() { var logger = new Mock<BuildLogger>().Object; var processor = new AddinFinder { Logger = logger, PackagesPath = Environment.CurrentDirectory }; processor.AddNugetDirectoryToAddinSearch(); var searchPaths = processor.AddinSearchPaths; Assert.AreEqual(Environment.CurrentDirectory, searchPaths[0]); }
public void Simple() { var logger = new Mock <BuildLogger>().Object; var processor = new AddinFinder { Logger = logger, PackagesPath = Environment.CurrentDirectory }; processor.AddNugetDirectoryToAddinSearch(); var searchPaths = processor.AddinSearchPaths; Assert.AreEqual(Environment.CurrentDirectory, searchPaths[0]); }