From 458565d4731c2075ba5418d5db0c4d8795bef1b5 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sun, 16 Oct 2011 20:40:22 -0700 Subject: [PATCH] WebException now marks indexer tests as Inconclusive. --- NzbDrone.Core.Test/IndexerTests.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/NzbDrone.Core.Test/IndexerTests.cs b/NzbDrone.Core.Test/IndexerTests.cs index 6d85b1d28..33367f366 100644 --- a/NzbDrone.Core.Test/IndexerTests.cs +++ b/NzbDrone.Core.Test/IndexerTests.cs @@ -208,6 +208,8 @@ namespace NzbDrone.Core.Test result.Should().OnlyContain(r => r.CleanTitle == Parser.NormalizeTitle(title)); result.Should().OnlyContain(r => r.SeasonNumber == season); result.Should().OnlyContain(r => r.EpisodeNumbers.Contains(episode)); + + ExceptionVerification.MarkInconclusive(typeof(WebException)); } [TestCase("simpsons", 21, 23)] @@ -233,6 +235,8 @@ namespace NzbDrone.Core.Test result.Should().OnlyContain(r => r.CleanTitle == Parser.NormalizeTitle(title)); result.Should().OnlyContain(r => r.SeasonNumber == season); result.Should().OnlyContain(r => r.EpisodeNumbers.Contains(episode)); + + ExceptionVerification.MarkInconclusive(typeof(WebException)); } [Test] @@ -256,6 +260,8 @@ namespace NzbDrone.Core.Test result.Should().OnlyContain(r => r.CleanTitle == "simpsons"); result.Should().OnlyContain(r => r.SeasonNumber == 21); result.Should().OnlyContain(r => r.EpisodeNumbers.Contains(23)); + + ExceptionVerification.MarkInconclusive(typeof(WebException)); } [Test] @@ -280,6 +286,8 @@ namespace NzbDrone.Core.Test result.Should().OnlyContain(r => r.SeasonNumber == 1); result.Should().OnlyContain(r => r.EpisodeNumbers.Contains(19)); + ExceptionVerification.MarkInconclusive(typeof(WebException)); + } [Test] @@ -303,6 +311,8 @@ namespace NzbDrone.Core.Test result.Should().OnlyContain(r => r.CleanTitle == "bluebloods"); result.Should().OnlyContain(r => r.SeasonNumber == 1); result.Should().OnlyContain(r => r.EpisodeNumbers.Contains(19)); + + ExceptionVerification.MarkInconclusive(typeof(WebException)); }