public void GetLyrics () { var song = new MockSong("Cut Paste", "Time Stands Still"); //engine.RetrieveLyrics(song); // TODO: use ManualResetEvent to wait for this to complete... }
public void GetLyrics() { MockSong song = new MockSong("Cut Paste", "Time Stands Still"); //engine.RetrieveLyrics(song); // TODO: use ManualResetEvent to wait for this to complete... }
public void TestMP3LyricsProvider () { var song = new MockSong("America", "Tin Man"); var provider = new MP3LyricsProvider(); string lyrics = provider.RetrieveLyrics(song); Assert.IsFalse(String.IsNullOrEmpty(lyrics)); Console.WriteLine("---Lyrics start---"); Console.WriteLine(lyrics); Console.WriteLine("---Lyrics end---"); Console.WriteLine("done"); }
public void TestProviders() { MockSong song = new MockSong("Cut Copy", "Time Stands Still"); ILyricsProvider provider; string lyrics; provider = new ChartLyricsLyricsProvider(); lyrics = provider.RetrieveLyrics(song); provider = new LyrdbLyricsProvider(); lyrics = provider.RetrieveLyrics(song); provider = new LyricsPluginLyricsProvider(); lyrics = provider.RetrieveLyrics(song); }