Example #1
0
        public async Task LyricWikiaApiGetRedirectedLyrics()
        {
            var    api    = new Common.Api.Lyrics.LyricWikiaApi(0);
            string lyrics = await api.GetLyricsAsync("30 Seconds To Mars", "Echelon");

            Assert.IsTrue(!string.IsNullOrEmpty(lyrics));
        }
Example #2
0
        public async Task LyricWikiaApiGetNormalLyrics()
        {
            var    api    = new Common.Api.Lyrics.LyricWikiaApi(0);
            string lyrics = await api.GetLyricsAsync("Massive Attack", "Teardrop");

            Assert.IsTrue(!string.IsNullOrEmpty(lyrics));
        }
Example #3
0
        public async Task LyricWikiaApiGetMalformedLyrics()
        {
            var    api    = new Common.Api.Lyrics.LyricWikiaApi(0);
            string lyrics = await api.GetLyricsAsync("masSivE AtTack", "tEarDrop");

            Assert.IsTrue(!string.IsNullOrEmpty(lyrics));
        }