public Packager(PackageFileLocator packageFileLocator, PackageMetadataLocator metaDataLocator, PackageConstructor constructor, ILog log) { _packageFileLocator = packageFileLocator; _metaDataLocator = metaDataLocator; _constructor = constructor; _log = log; }
public void DiscoverPackageMetadata_ExecutesEmbeddedLocationHeuristics() { var heuristic = new FakeHeuristic(); _disc = new PackageMetadataLocator(new MetadataDiscoveryHeuristics { heuristic }); _disc.DiscoverPackageMetadata(_discoveryRoot); Assert.That(heuristic.Executed, Is.True); }
public void SetUp() { _discoveryRoot = ""; _disc = new PackageMetadataLocator(new MetadataDiscoveryHeuristics()); }