コード例 #1
0
ファイル: LyricsTests.cs プロジェクト: jeason0813/iTuner
		public void GetLyrics ()
		{
			var song = new MockSong("Cut Paste", "Time Stands Still");

			//engine.RetrieveLyrics(song);

			// TODO: use ManualResetEvent to wait for this to complete...
		}
コード例 #2
0
ファイル: LyricsTests.cs プロジェクト: pengyancai/cs-util
        public void GetLyrics()
        {
            MockSong song = new MockSong("Cut Paste", "Time Stands Still");

            //engine.RetrieveLyrics(song);

            // TODO: use ManualResetEvent to wait for this to complete...
        }
コード例 #3
0
ファイル: LyricsTests.cs プロジェクト: jeason0813/iTuner
		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");
		}
コード例 #4
0
ファイル: LyricsTests.cs プロジェクト: pengyancai/cs-util
        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);
        }