1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-10 04:52:42 +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 @@ public void nzbsorg_search_returns_valid_results(string title, int season, int e
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 @@ public void newzbin_search_returns_valid_results(string title, int season, int e
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 @@ public void nzbmatrix_search_returns_valid_results()
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 @@ public void nzbsorg_multi_word_search_returns_valid_results()
result.Should().OnlyContain(r => r.SeasonNumber == 1);
result.Should().OnlyContain(r => r.EpisodeNumbers.Contains(19));
ExceptionVerification.MarkInconclusive(typeof(WebException));
}
[Test]
@ -303,6 +311,8 @@ public void nzbmatrix_multi_word_search_returns_valid_results()
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));
}