示例#1
0
 public void Load_M3u_File()
 {
     var ml = new MusicLoader();
     DirectoryInfo dirInfo = TestHelpers.GetTestDirectoryInfo();
     ml.Sources.Add(dirInfo.FullName + @"\TagMp3SaitoTestProject\m3u_to_test\m3uLista.m3u");
     Assert.AreEqual(167, ml.LoadPaths().Length);
 }
示例#2
0
 public void Load_Folder()
 {
     var ml = new MusicLoader();
     DirectoryInfo dirInfo = TestHelpers.GetTestDirectoryInfo();
     ml.Sources.Add(dirInfo.FullName + @"\TagMp3SaitoTestProject\Mp3_To_Test");
     Assert.AreEqual(2, ml.LoadPaths().Length);
 }
示例#3
0
 public void Load_Files()
 {
     var ml = new MusicLoader();
     DirectoryInfo dirInfo = TestHelpers.GetTestDirectoryInfo();
     ml.Sources.Add(dirInfo.FullName + @"\TagMp3SaitoTestProject\Mp3_To_Test\Silvana Malta-07-Jangada.mp3");
     ml.Sources.Add(dirInfo.FullName + @"\TagMp3SaitoTestProject\Mp3_To_Test\04 Ex-amor.mp3");
     Assert.AreEqual(2, ml.LoadPaths().Length);
 }
示例#4
0
 private void Form1_Load(object sender, EventArgs e)
 {
     musicLoader = new MusicLoader();
     iForm = (IFormComunicator)Wrapper.Create(typeof(IFormComunicator), this);
 }