mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-30 07:22:35 +01:00
Added emptry constructor to Search
This commit is contained in:
parent
5e7c0951b7
commit
6b7e4d10e5
@ -10,7 +10,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
||||
namespace NzbDrone.Core.Test.JobTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class SearchJobTest:CoreTest
|
||||
public class EpisodeSearchJobTest:CoreTest
|
||||
{
|
||||
[TestCase(0)]
|
||||
[TestCase(-1)]
|
@ -205,7 +205,7 @@
|
||||
<Compile Include="ProviderTests\GrowlProviderTest.cs" />
|
||||
<Compile Include="ProviderTests\DiskProviderTests\ExtractArchiveFixture.cs" />
|
||||
<Compile Include="ProviderTests\PostDownloadProviderTests\GetFolderNameWithStatusFixture.cs" />
|
||||
<Compile Include="JobTests\SearchJobTest.cs" />
|
||||
<Compile Include="JobTests\EpisodeSearchJobTest.cs" />
|
||||
<Compile Include="ProviderTests\PostDownloadProviderTests\ProcessDownloadFixture.cs" />
|
||||
<Compile Include="ProviderTests\JobProviderTests\TestJobs.cs" />
|
||||
<Compile Include="JobTests\AppUpdateJobFixture.cs" />
|
||||
|
@ -24,6 +24,10 @@ namespace NzbDrone.Core.Providers.Search
|
||||
{
|
||||
}
|
||||
|
||||
public DailyEpisodeSearch()
|
||||
{
|
||||
}
|
||||
|
||||
public override List<EpisodeParseResult> PerformSearch(Series series, dynamic options, ProgressNotification notification)
|
||||
{
|
||||
if (options.Episode == null)
|
||||
|
@ -24,6 +24,10 @@ namespace NzbDrone.Core.Providers.Search
|
||||
{
|
||||
}
|
||||
|
||||
public EpisodeSearch()
|
||||
{
|
||||
}
|
||||
|
||||
public override List<EpisodeParseResult> PerformSearch(Series series, dynamic options, ProgressNotification notification)
|
||||
{
|
||||
//Todo: Daily and Anime or separate them out?
|
||||
|
@ -24,6 +24,10 @@ namespace NzbDrone.Core.Providers.Search
|
||||
{
|
||||
}
|
||||
|
||||
public PartialSeasonSearch()
|
||||
{
|
||||
}
|
||||
|
||||
public override List<EpisodeParseResult> PerformSearch(Series series, dynamic options, ProgressNotification notification)
|
||||
{
|
||||
if (options.SeasonNumber == null || options.SeasonNumber < 0)
|
||||
|
@ -37,6 +37,10 @@ namespace NzbDrone.Core.Providers.Search
|
||||
_searchHistoryProvider = searchHistoryProvider;
|
||||
}
|
||||
|
||||
protected SearchBase()
|
||||
{
|
||||
}
|
||||
|
||||
public abstract List<EpisodeParseResult> PerformSearch(Series series, dynamic options, ProgressNotification notification);
|
||||
public abstract SearchHistoryItem CheckReport(Series series, dynamic options, EpisodeParseResult episodeParseResult,
|
||||
SearchHistoryItem item);
|
||||
|
Loading…
Reference in New Issue
Block a user