From f0fb5aa1581e34a8c31311ec9edffa373e32be2d Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sun, 19 Jun 2011 23:30:47 -0700 Subject: [PATCH] Removed leftover code from old ages ;) --- NzbDrone.Core.Test/TvDbProviderTest.cs | 40 -------------------------- 1 file changed, 40 deletions(-) diff --git a/NzbDrone.Core.Test/TvDbProviderTest.cs b/NzbDrone.Core.Test/TvDbProviderTest.cs index f0e12e882..6df4a4246 100644 --- a/NzbDrone.Core.Test/TvDbProviderTest.cs +++ b/NzbDrone.Core.Test/TvDbProviderTest.cs @@ -25,38 +25,10 @@ namespace NzbDrone.Core.Test result[0].SeriesName.Should().Be(title); } - [TestCase("The Simpsons")] - [TestCase("Family Guy")] - [TestCase("South Park")] - public void successful_title_lookup(string title) - { - var tvCont = new TvDbProvider(); - var result = tvCont.GetSeries(title); - - result.SeriesName.Should().Be(title); - } - [TestCase(new object[] { "CAPITAL", "capital", true })] - [TestCase(new object[] { "Something!!", "Something", true })] - [TestCase(new object[] { "Simpsons 2000", "Simpsons", true })] - [TestCase(new object[] { "Simp222sons", "Simpsons", true })] - [TestCase(new object[] { "Simpsons", "The Simpsons", true })] - [TestCase(new object[] { "Law and order", "Law & order", true })] - [TestCase(new object[] { "xxAndxx", "xxxx", false })] - [TestCase(new object[] { "Andxx", "xx", false })] - [TestCase(new object[] { "xxAnd", "xx", false })] - [TestCase(new object[] { "Thexx", "xx", false })] - [TestCase(new object[] { "Thexx", "xx", false })] - [TestCase(new object[] { "xxThexx", "xxxxx", false })] - [TestCase(new object[] { "Simpsons The", "Simpsons", true })] - public void Name_match_test(string a, string b, bool match) - { - bool result = TvDbProvider.IsTitleMatch(a, b); - Assert.AreEqual(match, result, "{0} , {1}", a, b); - } [Test] public void no_search_result() @@ -71,18 +43,6 @@ namespace NzbDrone.Core.Test result.Should().BeEmpty(); } - [Test] - public void no_result_title_lookup() - { - //setup - var tvdbProvider = new TvDbProvider(); - - //act - var result = tvdbProvider.GetSeries("clone high"); - - //assert - Assert.IsNull(result); - } [Test] public void none_unique_season_episode_number()