1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 15:32:31 +01:00

WebException now marks indexer tests as Inconclusive.

This commit is contained in:
kay.one 2011-10-16 20:40:22 -07:00
parent 77b867d65e
commit 458565d473

View File

@ -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));
}