public void Init() { _testMask = new Mask("{artist} {title}"); _testTager = new Tager(new TestFileLoader()); _synchronizer = new Synchronizer(_testTager); _fileWithBadName = new TestMp3File() { Path = "Artist", Tags = new Mp3Tags() { Artist = "Artist", Title = "Title" } }; _fileWithBadTags = new TestMp3File() { Path = "Artist Title", Tags = new Mp3Tags() { Artist = "Artist", Title = "" } }; _fileWithBadTagsAndBadName = new TestMp3File() { Path = "Artist", Tags = new Mp3Tags() { Artist = "Artist", Title = "" } }; }
public void Init() { _testMask=new Mask("{artist} {title}"); _testTager=new Tager(new TestFileLoader()); _synchronizer=new Synchronizer(_testTager); _fileWithBadName=new TestMp3File(){Path = "Artist",Tags = new Mp3Tags(){Artist = "Artist",Title = "Title"}}; _fileWithBadTags = new TestMp3File() { Path = "Artist Title", Tags = new Mp3Tags() { Artist = "Artist", Title = "" } }; _fileWithBadTagsAndBadName = new TestMp3File() { Path = "Artist", Tags = new Mp3Tags() { Artist = "Artist", Title = "" } }; }