Inheritance: IMp3File
示例#1
0
 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 = "" } };
 }