public TrackLoader( IId3Reader id3Reader, IAiffId3Reader aiffId3Reader, IAacReader aacReader, ITagCleanupFactory cleanupFactory, ITrackImageResizer imageResizer, IHarmonicKeySuperParser keyParser, IFilenameParser filenameParser, IFallbackReader fallbackReader) { if (id3Reader == null) throw new ArgumentNullException("id3Reader"); if (aiffId3Reader == null) throw new ArgumentNullException("aiffId3Reader"); if (aacReader == null) throw new ArgumentNullException("aacReader"); if (cleanupFactory == null) throw new ArgumentNullException("cleanupFactory"); if (imageResizer == null) throw new ArgumentNullException("imageResizer"); if (keyParser == null) throw new ArgumentNullException("keyParser"); if (filenameParser == null) throw new ArgumentNullException("filenameParser"); if (fallbackReader == null) throw new ArgumentNullException("fallbackReader"); this.id3Reader = id3Reader; this.aiffId3Reader = aiffId3Reader; this.aacReader = aacReader; this.cleanupFactory = cleanupFactory; this.imageResizer = imageResizer; this.keyParser = keyParser; this.filenameParser = filenameParser; this.fallbackReader = fallbackReader; }
public void SetUp() { parser = new HarmonicKeySuperParser(new HarmonicKeyConverterFactory(new TestConfigProvider())); }