コード例 #1
0
        public void Setup()
        {
            var setting = FormatterSettingsTests.GetDefaultSettings();

            _artistPath = Path.Combine(setting.SourceDirectoryPath, "Ride");
            _albumPath  = Path.Combine(setting.SourceDirectoryPath, "Ride", "Going Blank Again");
        }
コード例 #2
0
        public void TestCreateNewCollection()
        {
            var setting = FormatterSettingsTests.GetDefaultSettings();

            IMusicCollection collection = new MusicCollection(setting.SourceDirectoryPath);

            collection.ScanItemsToCollection();

            var artists = collection.Artists;

            Assert.AreEqual(3, artists.Count());
        }
コード例 #3
0
 public void Setup()
 {
     _settings = FormatterSettingsTests.GetDefaultSettings();
     var outDir = new DirectoryInfo(_settings.OutputDirectoryPath);
 }