separated sqlce and db4o tests.
This commit is contained in:
parent
9f829c1442
commit
f973a42669
|
@ -17,7 +17,7 @@ namespace NzbDrone.Core.Test
|
|||
[TestFixture]
|
||||
[ExclusivelyUses("REAL_LOG_FILE")]
|
||||
[Serial]
|
||||
class CentralDispatchFixture : CoreTest
|
||||
class CentralDispatchFixture : SqlCeTest
|
||||
{
|
||||
readonly IList<string> indexers = typeof(CentralDispatch).Assembly.GetTypes().Where(t => t.IsSubclassOf(typeof(IndexerBase))).Select(c => c.ToString()).ToList();
|
||||
readonly IList<string> jobs = typeof(CentralDispatch).Assembly.GetTypes().Where(t => t.GetInterfaces().Contains(typeof(IJob))).Select(c=>c.ToString()).ToList();
|
||||
|
|
|
@ -9,7 +9,7 @@ using Db4objects.Db4o.Linq;
|
|||
namespace NzbDrone.Core.Test.Datastore
|
||||
{
|
||||
[TestFixture]
|
||||
public class ObjectDatabaseFixture : CoreTest
|
||||
public class ObjectDatabaseFixture : ObjectDbTest
|
||||
{
|
||||
[SetUp]
|
||||
public void SetUp()
|
||||
|
@ -23,11 +23,11 @@ namespace NzbDrone.Core.Test.Datastore
|
|||
|
||||
var series = Builder<Series>.CreateNew().Build();
|
||||
|
||||
ObjDb.Create(series);
|
||||
Db.Create(series);
|
||||
|
||||
ObjDb.Ext().Purge();
|
||||
Db.Ext().Purge();
|
||||
|
||||
ObjDb.AsQueryable<Series>().Should().HaveCount(1);
|
||||
Db.AsQueryable<Series>().Should().HaveCount(1);
|
||||
|
||||
}
|
||||
|
||||
|
@ -35,15 +35,15 @@ namespace NzbDrone.Core.Test.Datastore
|
|||
public void should_not_store_dirty_data_in_cache()
|
||||
{
|
||||
var episode = Builder<Episode>.CreateNew().Build();
|
||||
|
||||
|
||||
//Save series without episode attached
|
||||
ObjDb.Create(episode);
|
||||
|
||||
ObjDb.AsQueryable<Episode>().Single().Series.Should().BeNull();
|
||||
|
||||
Db.Create(episode);
|
||||
|
||||
Db.AsQueryable<Episode>().Single().Series.Should().BeNull();
|
||||
|
||||
episode.Series = Builder<Series>.CreateNew().Build();
|
||||
|
||||
ObjDb.AsQueryable<Episode>().Single().Series.Should().BeNull();
|
||||
Db.AsQueryable<Episode>().Single().Series.Should().BeNull();
|
||||
}
|
||||
|
||||
|
||||
|
@ -51,14 +51,14 @@ namespace NzbDrone.Core.Test.Datastore
|
|||
public void rollback_should_reset_state()
|
||||
{
|
||||
var episode = Builder<Episode>.CreateNew().Build();
|
||||
|
||||
ObjDb.Create(episode);
|
||||
|
||||
ObjDb.AsQueryable<Episode>().Should().HaveCount(1);
|
||||
Db.Create(episode);
|
||||
|
||||
ObjDb.Rollback();
|
||||
Db.AsQueryable<Episode>().Should().HaveCount(1);
|
||||
|
||||
ObjDb.AsQueryable<Episode>().Should().HaveCount(0);
|
||||
Db.Rollback();
|
||||
|
||||
Db.AsQueryable<Episode>().Should().HaveCount(0);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -67,16 +67,16 @@ namespace NzbDrone.Core.Test.Datastore
|
|||
var episode = Builder<Episode>.CreateNew().Build();
|
||||
var series = Builder<Series>.CreateNew().Build();
|
||||
|
||||
ObjDb.Create(episode);
|
||||
Db.Create(episode);
|
||||
|
||||
ObjDb.Commit();
|
||||
Db.Commit();
|
||||
|
||||
ObjDb.Create(series);
|
||||
Db.Create(series);
|
||||
|
||||
ObjDb.Rollback();
|
||||
Db.Rollback();
|
||||
|
||||
ObjDb.AsQueryable<Episode>().Should().HaveCount(1);
|
||||
ObjDb.AsQueryable<Series>().Should().HaveCount(0);
|
||||
Db.AsQueryable<Episode>().Should().HaveCount(1);
|
||||
Db.AsQueryable<Series>().Should().HaveCount(0);
|
||||
}
|
||||
|
||||
|
||||
|
@ -86,10 +86,10 @@ namespace NzbDrone.Core.Test.Datastore
|
|||
var episode = Builder<Episode>.CreateNew().Build();
|
||||
episode.Series = Builder<Series>.CreateNew().Build();
|
||||
|
||||
ObjDb.Create(episode);
|
||||
Db.Create(episode);
|
||||
|
||||
ObjDb.AsQueryable<Episode>().Should().HaveCount(1);
|
||||
ObjDb.AsQueryable<Episode>().Single().Series.Should().NotBeNull();
|
||||
Db.AsQueryable<Episode>().Should().HaveCount(1);
|
||||
Db.AsQueryable<Episode>().Single().Series.Should().NotBeNull();
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -98,15 +98,15 @@ namespace NzbDrone.Core.Test.Datastore
|
|||
var episode = Builder<Episode>.CreateNew().Build();
|
||||
episode.Series = Builder<Series>.CreateNew().Build();
|
||||
|
||||
ObjDb.Create(episode);
|
||||
Db.Create(episode);
|
||||
|
||||
episode.Series.Title = "UpdatedTitle";
|
||||
|
||||
ObjDb.Update(episode,2);
|
||||
Db.Update(episode, 2);
|
||||
|
||||
ObjDb.AsQueryable<Episode>().Should().HaveCount(1);
|
||||
ObjDb.AsQueryable<Episode>().Single().Series.Should().NotBeNull();
|
||||
ObjDb.AsQueryable<Episode>().Single().Series.Title.Should().Be("UpdatedTitle");
|
||||
Db.AsQueryable<Episode>().Should().HaveCount(1);
|
||||
Db.AsQueryable<Episode>().Single().Series.Should().NotBeNull();
|
||||
Db.AsQueryable<Episode>().Single().Series.Title.Should().Be("UpdatedTitle");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace NzbDrone.Core.Test
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class EpisodeParseResultTest : CoreTest
|
||||
public class EpisodeParseResultTest : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void tostring_single_season_episode()
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace NzbDrone.Core.Test
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class EpisodeStatusTest : CoreTest
|
||||
public class EpisodeStatusTest : SqlCeTest
|
||||
{
|
||||
[TestCase(1, false, false, EpisodeStatusType.NotAired)]
|
||||
[TestCase(-2, false, false, EpisodeStatusType.Missing)]
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace NzbDrone.Core.Test
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class FluentTest : CoreTest
|
||||
public class FluentTest : SqlCeTest
|
||||
{
|
||||
[TestCase(null, "def", "def")]
|
||||
[TestCase("", "def", "def")]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
namespace NzbDrone.Core.Test.Framework
|
||||
{
|
||||
public abstract class CoreTest<TSubject> : CoreTest where TSubject : class
|
||||
public abstract class SqlCeTest<TSubject> : SqlCeTest where TSubject : class
|
||||
{
|
||||
|
||||
private TSubject _subject;
|
||||
|
|
|
@ -10,7 +10,66 @@ using PetaPoco;
|
|||
|
||||
namespace NzbDrone.Core.Test.Framework
|
||||
{
|
||||
|
||||
public abstract class CoreTest : TestBase
|
||||
{
|
||||
protected static ProgressNotification MockNotification
|
||||
{
|
||||
get
|
||||
{
|
||||
return new ProgressNotification("Mock notification");
|
||||
}
|
||||
}
|
||||
|
||||
protected static void ThrowException()
|
||||
{
|
||||
throw new ApplicationException("This is a message for test exception");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public abstract class ObjectDbTest : CoreTest
|
||||
{
|
||||
private IObjectDbSession _db;
|
||||
protected IObjectDbSession Db
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_db == null)
|
||||
throw new InvalidOperationException("Test object database doesn't exists. Make sure you call WithRealDb() if you intend to use an actual database.");
|
||||
|
||||
return _db;
|
||||
}
|
||||
}
|
||||
|
||||
protected void WithObjectDb(bool memory = true)
|
||||
{
|
||||
if (memory)
|
||||
{
|
||||
_db = new ObjectDbSessionFactory().Create(new PagingMemoryStorage());
|
||||
}
|
||||
else
|
||||
{
|
||||
_db = new ObjectDbSessionFactory().Create(dbName: Guid.NewGuid().ToString());
|
||||
}
|
||||
|
||||
Mocker.SetConstant(Db);
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
public void ObjectDbTearDown()
|
||||
{
|
||||
if (_db != null)
|
||||
{
|
||||
_db.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public abstract class SqlCeTest : CoreTest
|
||||
{
|
||||
private string _dbTemplateName;
|
||||
|
||||
|
@ -73,18 +132,6 @@ namespace NzbDrone.Core.Test.Framework
|
|||
}
|
||||
}
|
||||
|
||||
private IObjectDbSession _objDb;
|
||||
protected IObjectDbSession ObjDb
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_objDb == null)
|
||||
throw new InvalidOperationException("Test object database doesn't exists. Make sure you call WithRealDb() if you intend to use an actual database.");
|
||||
|
||||
return _objDb;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void WithRealDb()
|
||||
|
@ -93,32 +140,6 @@ namespace NzbDrone.Core.Test.Framework
|
|||
Mocker.SetConstant(Db);
|
||||
}
|
||||
|
||||
protected void WithObjectDb(bool memory = true)
|
||||
{
|
||||
if (memory)
|
||||
{
|
||||
_objDb = new ObjectDbSessionFactory().Create(new PagingMemoryStorage());
|
||||
}
|
||||
else
|
||||
{
|
||||
_objDb = new ObjectDbSessionFactory().Create(dbName: Guid.NewGuid().ToString());
|
||||
}
|
||||
|
||||
Mocker.SetConstant(ObjDb);
|
||||
}
|
||||
|
||||
protected static ProgressNotification MockNotification
|
||||
{
|
||||
get
|
||||
{
|
||||
return new ProgressNotification("Mock notification");
|
||||
}
|
||||
}
|
||||
|
||||
protected static void ThrowException()
|
||||
{
|
||||
throw new ApplicationException("This is a message for test exception");
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
public void CoreTestTearDown()
|
||||
|
@ -136,11 +157,6 @@ namespace NzbDrone.Core.Test.Framework
|
|||
}
|
||||
catch (IOException) { }
|
||||
}
|
||||
|
||||
if (_objDb != null)
|
||||
{
|
||||
_objDb.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.HelperTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class SortHelperTest : CoreTest
|
||||
public class SortHelperTest : SqlCeTest
|
||||
{
|
||||
[TestCase("The Office (US)", "Office (US)")]
|
||||
[TestCase("A Man in Anger", "Man in Anger")]
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.HelperTests.XElementHelperTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class ParseDayOfWeekFixture : CoreTest
|
||||
public class ParseDayOfWeekFixture : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void should_return_null_if_xelement_is_null()
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.HelperTests.XElementHelperTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class XElementHelperTest : CoreTest
|
||||
public class XElementHelperTest : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void Int32_should_return_zero_when_xelement_is_null()
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.IndexerTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class IndexerFixture : CoreTest
|
||||
public class IndexerFixture : SqlCeTest
|
||||
{
|
||||
private void WithConfiguredIndexers()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.IndexerTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class NzbxFixture : CoreTest
|
||||
public class NzbxFixture : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void should_get_size_when_parsing_recent_feed()
|
||||
|
|
|
@ -16,7 +16,7 @@ using PetaPoco;
|
|||
namespace NzbDrone.Core.Test.Integeration
|
||||
{
|
||||
[TestFixture(Category = "ServiceIngeneration")]
|
||||
public class ServiceIntegerationFixture : CoreTest
|
||||
public class ServiceIntegerationFixture : SqlCeTest
|
||||
{
|
||||
private IContainer _container;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ using NzbDrone.Test.Common;
|
|||
namespace NzbDrone.Core.Test.JobTests
|
||||
{
|
||||
[TestFixture]
|
||||
internal class AppUpdateJobFixture : CoreTest
|
||||
internal class AppUpdateJobFixture : SqlCeTest
|
||||
{
|
||||
private const string SANDBOX_FOLDER = @"C:\Temp\nzbdrone_update\";
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
namespace NzbDrone.Core.Test.JobTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class BacklogSearchJobTest : CoreTest
|
||||
public class BacklogSearchJobTest : SqlCeTest
|
||||
{
|
||||
private void WithEnableBacklogSearching()
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.JobTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class BannerDownloadJobTest : CoreTest
|
||||
public class BannerDownloadJobTest : SqlCeTest
|
||||
{
|
||||
private ProgressNotification _notification;
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.JobTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class DiskScanJobTest : CoreTest
|
||||
public class DiskScanJobTest : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void series_specific_scan_should_scan_series()
|
||||
|
|
|
@ -10,7 +10,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
namespace NzbDrone.Core.Test.JobTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class EpisodeSearchJobTest:CoreTest
|
||||
public class EpisodeSearchJobTest:SqlCeTest
|
||||
{
|
||||
[TestCase(0)]
|
||||
[TestCase(-1)]
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.JobTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class ImportNewSeriesJobTest : CoreTest
|
||||
public class ImportNewSeriesJobTest : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void import_new_series_succesful()
|
||||
|
|
|
@ -17,7 +17,7 @@ using NzbDrone.Test.Common;
|
|||
namespace NzbDrone.Core.Test.JobTests
|
||||
{
|
||||
[TestFixture]
|
||||
internal class PostDownloadScanJobFixture : CoreTest
|
||||
internal class PostDownloadScanJobFixture : SqlCeTest
|
||||
{
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
|
|
|
@ -19,7 +19,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
namespace NzbDrone.Core.Test.JobTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class RecentBacklogSearchJobTest : CoreTest
|
||||
public class RecentBacklogSearchJobTest : SqlCeTest
|
||||
{
|
||||
private void WithEnableBacklogSearching()
|
||||
{
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace NzbDrone.Core.Test.JobTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class RssSyncJobTest : CoreTest
|
||||
public class RssSyncJobTest : SqlCeTest
|
||||
{
|
||||
public void WithMinutes(int minutes)
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.JobTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class SeasonSearchJobTest : CoreTest
|
||||
public class SeasonSearchJobTest : SqlCeTest
|
||||
{
|
||||
private IList<Episode> _episodes;
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace NzbDrone.Core.Test.JobTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class SeriesSearchJobTest : CoreTest
|
||||
public class SeriesSearchJobTest : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void SeriesSearch_success()
|
||||
|
|
|
@ -246,7 +246,7 @@
|
|||
<Compile Include="ProviderTests\UpcomingEpisodesProviderTest.cs" />
|
||||
<Compile Include="ProviderTests\MediaFileProviderTests\GetNewFilenameFixture.cs" />
|
||||
<Compile Include="dbBenchmark.cs" />
|
||||
<Compile Include="Framework\CoreTest.cs" />
|
||||
<Compile Include="Framework\SqlCeTest.cs" />
|
||||
<Compile Include="ProviderTests\DecisionEngineTests\MonitoredEpisodeSpecificationFixture.cs" />
|
||||
<Compile Include="ProviderTests\DownloadProviderTests\DownloadProviderFixture.cs" />
|
||||
<Compile Include="EpisodeStatusTest.cs" />
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace NzbDrone.Core.Test.ParserTests
|
|||
{
|
||||
// ReSharper disable InconsistentNaming
|
||||
[TestFixture]
|
||||
public class ParserFixture : CoreTest
|
||||
public class ParserFixture : SqlCeTest
|
||||
{
|
||||
/*Fucked-up hall of shame,
|
||||
* WWE.Wrestlemania.27.PPV.HDTV.XviD-KYR
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace NzbDrone.Core.Test.ParserTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class QualityParserFixture : CoreTest
|
||||
public class QualityParserFixture : SqlCeTest
|
||||
{
|
||||
public static object[] QualityParserCases =
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class BannerProviderTest : CoreTest
|
||||
public class BannerProviderTest : SqlCeTest
|
||||
{
|
||||
private Series _series;
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ using PetaPoco;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.ConfigProviderTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class ConfigCachingFixture : CoreTest
|
||||
public class ConfigCachingFixture : SqlCeTest
|
||||
{
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace NzbDrone.Core.Test.ProviderTests.ConfigProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class ConfigProviderFixture : CoreTest
|
||||
public class ConfigProviderFixture : SqlCeTest
|
||||
{
|
||||
[SetUp]
|
||||
public void SetUp()
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class AcceptableSizeSpecificationFixture : CoreTest
|
||||
public class AcceptableSizeSpecificationFixture : SqlCeTest
|
||||
{
|
||||
private EpisodeParseResult parseResultMulti;
|
||||
private EpisodeParseResult parseResultSingle;
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class AllowedDownloadSpecificationFixture : CoreTest
|
||||
public class AllowedDownloadSpecificationFixture : SqlCeTest
|
||||
{
|
||||
private AllowedDownloadSpecification spec;
|
||||
private EpisodeParseResult parseResult;
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class AllowedReleaseGroupSpecificationFixture : CoreTest
|
||||
public class AllowedReleaseGroupSpecificationFixture : SqlCeTest
|
||||
{
|
||||
private EpisodeParseResult parseResult;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class CustomStartDateSpecificationFixture : CoreTest
|
||||
public class CustomStartDateSpecificationFixture : SqlCeTest
|
||||
{
|
||||
private CustomStartDateSpecification _customStartDateSpecification;
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class LanguageSpecificationFixture : CoreTest
|
||||
public class LanguageSpecificationFixture : SqlCeTest
|
||||
{
|
||||
private EpisodeParseResult parseResult;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class MonitoredEpisodeSpecificationFixture : CoreTest
|
||||
public class MonitoredEpisodeSpecificationFixture : SqlCeTest
|
||||
{
|
||||
private MonitoredEpisodeSpecification monitoredEpisodeSpecification;
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class QualityAllowedByProfileSpecificationFixture : CoreTest
|
||||
public class QualityAllowedByProfileSpecificationFixture : SqlCeTest
|
||||
{
|
||||
private QualityAllowedByProfileSpecification _qualityAllowedByProfile;
|
||||
private EpisodeParseResult parseResult;
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class QualityUpgradeSpecificationFixture : CoreTest
|
||||
public class QualityUpgradeSpecificationFixture : SqlCeTest
|
||||
{
|
||||
public static object[] IsUpgradeTestCases =
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class RetentionSpecificationFixture : CoreTest
|
||||
public class RetentionSpecificationFixture : SqlCeTest
|
||||
{
|
||||
private RetentionSpecification retentionSpecification;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class UpgradeDiskSpecificationFixture : CoreTest
|
||||
public class UpgradeDiskSpecificationFixture : SqlCeTest
|
||||
{
|
||||
private UpgradeDiskSpecification _upgradeDisk;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class UpgradeHistorySpecificationFixture : CoreTest
|
||||
public class UpgradeHistorySpecificationFixture : SqlCeTest
|
||||
{
|
||||
private UpgradeHistorySpecification _upgradeHistory;
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class UpgradePossibleSpecificationFixture : CoreTest
|
||||
public class UpgradePossibleSpecificationFixture : SqlCeTest
|
||||
{
|
||||
private void WithWebdlCutoff()
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ using System.IO;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.DiskProviderTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class ExtractArchiveFixture : CoreTest
|
||||
public class ExtractArchiveFixture : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void Should_extract_to_correct_folder()
|
||||
|
|
|
@ -15,7 +15,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.DiskProviderTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class FreeDiskSpaceTest : CoreTest
|
||||
public class FreeDiskSpaceTest : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void should_return_free_disk_space()
|
||||
|
|
|
@ -20,7 +20,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.DiskScanProviderTests
|
||||
{
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class CleanUpDropFolderFixture : CoreTest
|
||||
public class CleanUpDropFolderFixture : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void should_do_nothing_if_no_files_are_found()
|
||||
|
|
|
@ -20,7 +20,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.DiskScanProviderTests
|
||||
{
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class CleanUpFixture : CoreTest
|
||||
public class CleanUpFixture : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void should_skip_existing_files()
|
||||
|
|
|
@ -20,7 +20,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.DiskScanProviderTests
|
||||
{
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class GetVideoFilesFixture : CoreTest
|
||||
public class GetVideoFilesFixture : SqlCeTest
|
||||
{
|
||||
private string[] _files;
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.DiskScanProviderTests
|
||||
{
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class ImportFileFixture : CoreTest
|
||||
public class ImportFileFixture : SqlCeTest
|
||||
{
|
||||
public static object[] ImportTestCases =
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.DiskScanProviderTests
|
||||
{
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class MoveEpisodeFileFixture : CoreTest
|
||||
public class MoveEpisodeFileFixture : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void should_not_move_file_if_source_and_destination_are_the_same_path()
|
||||
|
|
|
@ -20,7 +20,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.DiskScanProviderTests
|
||||
{
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class ScanFixture : CoreTest
|
||||
public class ScanFixture : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void series_should_update_the_last_scan_date()
|
||||
|
|
|
@ -16,7 +16,7 @@ using NzbDrone.Test.Common;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.DownloadClientTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class BlackholeProviderFixture : CoreTest
|
||||
public class BlackholeProviderFixture : SqlCeTest
|
||||
{
|
||||
private const string nzbUrl = "http://www.nzbs.com/url";
|
||||
private const string title = "some_nzb_title";
|
||||
|
|
|
@ -16,7 +16,7 @@ using NzbDrone.Test.Common;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.DownloadClientTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class PneumaticProviderFixture : CoreTest
|
||||
public class PneumaticProviderFixture : SqlCeTest
|
||||
{
|
||||
private const string nzbUrl = "http://www.nzbs.com/url";
|
||||
private const string title = "30.Rock.S01E05.hdtv.xvid-LoL";
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DownloadClientTests.SabProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class QueueFixture : CoreTest
|
||||
public class QueueFixture : SqlCeTest
|
||||
{
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DownloadClientTests.SabProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class SabProviderFixture : CoreTest
|
||||
public class SabProviderFixture : SqlCeTest
|
||||
{
|
||||
private const string url = "http://www.nzbclub.com/nzb_download.aspx?mid=1950232";
|
||||
private const string title = "My Series Name - 5x2-5x3 - My title [Bluray720p] [Proper]";
|
||||
|
|
|
@ -13,7 +13,7 @@ using NzbDrone.Core.Test.Framework;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.DownloadProviderTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class ContainsRecentEpisode : CoreTest
|
||||
public class ContainsRecentEpisode : SqlCeTest
|
||||
{
|
||||
private Episode _recentEpisode;
|
||||
private Episode _oldEpisode;
|
||||
|
|
|
@ -18,7 +18,7 @@ using NzbDrone.Core.Test.Framework;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.DownloadProviderTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class DownloadProviderFixture : CoreTest
|
||||
public class DownloadProviderFixture : SqlCeTest
|
||||
{
|
||||
public static object[] SabNamingCases =
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ namespace NzbDrone.Core.Test.ProviderTests.EpisodeProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class EpisodeProviderTest : CoreTest
|
||||
public class EpisodeProviderTest : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void GetEpisodes_exists()
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace NzbDrone.Core.Test.ProviderTests.EpisodeProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class EpisodeProviderTest_DeleteInvalidEpisodes : CoreTest
|
||||
public class EpisodeProviderTest_DeleteInvalidEpisodes : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void Delete_None_Valid_TvDbEpisodeId()
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.ProviderTests.EpisodeProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class EpisodeProviderTest_GetEpisodesByParseResult : CoreTest
|
||||
public class EpisodeProviderTest_GetEpisodesByParseResult : SqlCeTest
|
||||
{
|
||||
private EpisodeProvider episodeProvider;
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace NzbDrone.Core.Test.ProviderTests.EpisodeProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class GetEpisodeBySceneNumberFixture : CoreTest
|
||||
public class GetEpisodeBySceneNumberFixture : SqlCeTest
|
||||
{
|
||||
private Series _series;
|
||||
private Episode _episode;
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class EventClientProviderTest : CoreTest
|
||||
public class EventClientProviderTest : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void SendNotification_true()
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[Explicit]
|
||||
[TestFixture]
|
||||
public class GrowlProviderTest : CoreTest
|
||||
public class GrowlProviderTest : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void Register_should_add_new_application_to_local_growl_instance()
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class HistoryProviderTest : CoreTest
|
||||
public class HistoryProviderTest : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void AllItems()
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class IndexerProviderTest : CoreTest
|
||||
public class IndexerProviderTest : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void Init_indexer_test()
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests.JobProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
[ExclusivelyUses("JOB_PROVIDER")]
|
||||
public class JobProviderFixture : CoreTest
|
||||
public class JobProviderFixture : SqlCeTest
|
||||
{
|
||||
|
||||
FakeJob fakeJob;
|
||||
|
|
|
@ -15,7 +15,7 @@ using NzbDrone.Test.Common;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.LogProviderTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class LogProviderFixture : CoreTest
|
||||
public class LogProviderFixture : SqlCeTest
|
||||
{
|
||||
private const string LOGGER_NAME = "Core.Test.ProviderTests.LogProviderTests.LogProviderFixture";
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class MediaFileProviderTest : CoreTest
|
||||
public class MediaFileProviderTest : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void get_series_files()
|
||||
|
|
|
@ -15,7 +15,7 @@ using NzbDrone.Core.Test.Framework;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.MediaFileProviderTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class CleanUpDatabaseFixture : CoreTest
|
||||
public class CleanUpDatabaseFixture : SqlCeTest
|
||||
{
|
||||
|
||||
[SetUp]
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.MediaFileProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class MediaFileProvider_GetNewFilenameTest : CoreTest
|
||||
public class MediaFileProvider_GetNewFilenameTest : SqlCeTest
|
||||
{
|
||||
private Series _series;
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.ProviderTests.Metadata
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class Xbmc_ForEpisoddeFile_Fixture : CoreTest
|
||||
public class Xbmc_ForEpisoddeFile_Fixture : SqlCeTest
|
||||
{
|
||||
private Series series;
|
||||
private EpisodeFile episodeFile;
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace NzbDrone.Core.Test.ProviderTests.Metadata
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class Xbmc_ForSeries_Fixture : CoreTest
|
||||
public class Xbmc_ForSeries_Fixture : SqlCeTest
|
||||
{
|
||||
private Series series;
|
||||
private TvdbSeries tvdbSeries;
|
||||
|
|
|
@ -13,7 +13,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
namespace NzbDrone.Core.Test.ProviderTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class MisnamedProviderTest : CoreTest
|
||||
public class MisnamedProviderTest : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void no_misnamed_files()
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class NewznabProviderTest : CoreTest<NewznabProvider>
|
||||
public class NewznabProviderTest : SqlCeTest<NewznabProvider>
|
||||
{
|
||||
[SetUp]
|
||||
public void SetUp()
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class PlexProviderTest : CoreTest
|
||||
public class PlexProviderTest : SqlCeTest
|
||||
{
|
||||
private void WithSingleClient()
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace NzbDrone.Core.Test.ProviderTests.PostDownloadProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class GetFolderNameWithStatusFixture : CoreTest
|
||||
public class GetFolderNameWithStatusFixture : SqlCeTest
|
||||
{
|
||||
[TestCase(@"c:\_NzbDrone_InvalidEpisode_Title", @"c:\_UnknownSeries_Title", PostDownloadStatusType.UnknownSeries)]
|
||||
[TestCase(@"c:\Title", @"c:\_Failed_Title", PostDownloadStatusType.Failed)]
|
||||
|
|
|
@ -18,7 +18,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.PostDownloadProviderTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class ProcessDownloadFixture : CoreTest
|
||||
public class ProcessDownloadFixture : SqlCeTest
|
||||
{
|
||||
Series fakeSeries;
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.PostDownloadProviderTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class ProcessDropDirectoryFixture : CoreTest
|
||||
public class ProcessDropDirectoryFixture : SqlCeTest
|
||||
{
|
||||
Series fakeSeries;
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
namespace NzbDrone.Core.Test.ProviderTests.PostDownloadProviderTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class ProcessVideoFileFixture : CoreTest
|
||||
public class ProcessVideoFileFixture : SqlCeTest
|
||||
{
|
||||
Series fakeSeries;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[Explicit]
|
||||
[TestFixture]
|
||||
public class ProwlProviderTest : CoreTest
|
||||
public class ProwlProviderTest : SqlCeTest
|
||||
{
|
||||
private const string _apiKey = "c3bdc0f48168f72d546cc6872925b160f5cbffc1";
|
||||
private const string _apiKey2 = "46a710a46b111b0b8633819b0d8a1e0272a3affa";
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class QualityTypeProviderTest : CoreTest
|
||||
public class QualityTypeProviderTest : SqlCeTest
|
||||
{
|
||||
[SetUp]
|
||||
public void SetuUp()
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.ProviderTests.RecycleBinProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class CleanupFixture : CoreTest
|
||||
public class CleanupFixture : SqlCeTest
|
||||
{
|
||||
private const string RecycleBin = @"C:\Test\RecycleBin";
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.ProviderTests.RecycleBinProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class DeleteDirectoryFixture : CoreTest
|
||||
public class DeleteDirectoryFixture : SqlCeTest
|
||||
{
|
||||
private void WithRecycleBin()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.ProviderTests.RecycleBinProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class DeleteFileFixture : CoreTest
|
||||
public class DeleteFileFixture : SqlCeTest
|
||||
{
|
||||
private void WithRecycleBin()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.ProviderTests.RecycleBinProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class EmptyFixture : CoreTest
|
||||
public class EmptyFixture : SqlCeTest
|
||||
{
|
||||
private const string RecycleBin = @"C:\Test\RecycleBin";
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class ReferenceDataProviderTest : CoreTest
|
||||
public class ReferenceDataProviderTest : SqlCeTest
|
||||
{
|
||||
private const string validSeriesIds = "[1,2,3,4,5]";
|
||||
private const string invalidSeriesIds = "[1,2,NaN,4,5]";
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace NzbDrone.Core.Test.ProviderTests.RootDirProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class FreeSpaceOnDrivesFixture : CoreTest
|
||||
public class FreeSpaceOnDrivesFixture : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void should_return_one_drive_when_only_one_root_dir_exists()
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.RootDirProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class RootDirProviderFixture : CoreTest
|
||||
public class RootDirProviderFixture : SqlCeTest
|
||||
{
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class SceneMappingProviderTest : CoreTest
|
||||
public class SceneMappingProviderTest : SqlCeTest
|
||||
{
|
||||
private const string SceneMappingUrl = "http://services.nzbdrone.com/SceneMapping/Active";
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class SearchHistoryProviderTest : CoreTest
|
||||
public class SearchHistoryProviderTest : SqlCeTest
|
||||
{
|
||||
private SearchHistory _searchHistory;
|
||||
private Series _series;
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class SeasonProviderTest : CoreTest
|
||||
public class SeasonProviderTest : SqlCeTest
|
||||
{
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
|
|
|
@ -15,7 +15,7 @@ using NzbDrone.Core.Test.Framework;
|
|||
namespace NzbDrone.Core.Test.ProviderTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class SeriesProviderTest : CoreTest
|
||||
public class SeriesProviderTest : SqlCeTest
|
||||
{
|
||||
private IList<QualityProfile> _qualityProfiles;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class TvDbProviderTest : CoreTest
|
||||
public class TvDbProviderTest : SqlCeTest
|
||||
{
|
||||
private TvDbProvider tvDbProvider;
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.TvRageProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class GetSeriesFixture : CoreTest
|
||||
public class GetSeriesFixture : SqlCeTest
|
||||
{
|
||||
private const string showinfo = "http://services.tvrage.com/feeds/showinfo.php?key=NW4v0PSmQIoVmpbASLdD&sid=";
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.ProviderTests.TvRageProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class GetUtcOffsetFixture : CoreTest
|
||||
public class GetUtcOffsetFixture : SqlCeTest
|
||||
{
|
||||
[Test]
|
||||
public void should_return_zero_if_timeZone_is_empty()
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.TvRageProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class SearchSeriesFixture : CoreTest
|
||||
public class SearchSeriesFixture : SqlCeTest
|
||||
{
|
||||
private const string search = "http://services.tvrage.com/feeds/full_search.php?show=";
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
|
||||
public class UpcomingEpisodesProviderTest : CoreTest
|
||||
public class UpcomingEpisodesProviderTest : SqlCeTest
|
||||
{
|
||||
private IList<Episode> episodes;
|
||||
private Series series;
|
||||
|
|
|
@ -11,7 +11,7 @@ using NzbDrone.Test.Common.AutoMoq;
|
|||
|
||||
namespace NzbDrone.Core.Test.ProviderTests.UpdateProviderTests
|
||||
{
|
||||
class GetAvilableUpdateFixture : CoreTest
|
||||
class GetAvilableUpdateFixture : SqlCeTest
|
||||
{
|
||||
private static Version _latestsTestVersion = new Version("0.6.0.3");
|
||||
private static string _latestsTestUrl = "http://update.nzbdrone.com/_test/NzbDrone.master.0.6.0.3.zip";
|
||||
|
|
|
@ -9,7 +9,7 @@ using NzbDrone.Core.Test.Framework;
|
|||
|
||||
namespace NzbDrone.Core.Test.ProviderTests.UpdateProviderTests
|
||||
{
|
||||
class GetUpdateLogFixture : CoreTest
|
||||
class GetUpdateLogFixture : SqlCeTest
|
||||
{
|
||||
String UpdateLogFolder;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class XbmcProviderTest : CoreTest
|
||||
public class XbmcProviderTest : SqlCeTest
|
||||
{
|
||||
private string EdenActivePlayers;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests.XemCommunicationProviderTests
|
|||
{
|
||||
[TestFixture]
|
||||
// ReSharper disable InconsistentNaming
|
||||
public class GetSceneTvdbMappingsFixture : CoreTest
|
||||
public class GetSceneTvdbMappingsFixture : SqlCeTest
|
||||
{
|
||||
private void WithFailureJson()
|
||||
{
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue