1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-27 18:17:13 +00:00

Pushing broken test to test teamcity

This commit is contained in:
kay.one 2011-10-19 22:05:04 -07:00
parent 88b8c053fc
commit 39c8462769

View file

@ -17,6 +17,12 @@ namespace NzbDrone.Core.Test
[TestFixture] [TestFixture]
public class BacklogSearchJobTest public class BacklogSearchJobTest
{ {
[Test]
public void broken_test()
{
throw new NotImplementedException();
}
[Test] [Test]
public void no_missing_epsiodes_should_not_trigger_any_search() public void no_missing_epsiodes_should_not_trigger_any_search()
{ {
@ -116,7 +122,7 @@ public void series_season_missing_episodes_only_mismatch_count()
.Setup(s => s.Start(notification, It.IsAny<int>(), 0)).Verifiable(); .Setup(s => s.Start(notification, It.IsAny<int>(), 0)).Verifiable();
mocker.GetMock<EpisodeProvider>() mocker.GetMock<EpisodeProvider>()
.Setup(s => s.GetEpisodeNumbersBySeason(1, 1)).Returns(new List<int> {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}); .Setup(s => s.GetEpisodeNumbersBySeason(1, 1)).Returns(new List<int> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 });
//Act //Act
mocker.Resolve<BacklogSearchJob>().Start(notification, 0, 0); mocker.Resolve<BacklogSearchJob>().Start(notification, 0, 0);
@ -187,7 +193,7 @@ public void multiple_missing_episodes()
.Setup(s => s.Start(notification, It.IsAny<int>(), 0)).Verifiable(); .Setup(s => s.Start(notification, It.IsAny<int>(), 0)).Verifiable();
mocker.GetMock<EpisodeProvider>() mocker.GetMock<EpisodeProvider>()
.Setup(s => s.GetEpisodeNumbersBySeason(1, 1)).Returns(new List<int>{ 1, 2, 3, 4, 5 }); .Setup(s => s.GetEpisodeNumbersBySeason(1, 1)).Returns(new List<int> { 1, 2, 3, 4, 5 });
//Act //Act
mocker.Resolve<BacklogSearchJob>().Start(notification, 0, 0); mocker.Resolve<BacklogSearchJob>().Start(notification, 0, 0);