From f973a4266910127a896937eaaf1f7a172ff75e39 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sat, 2 Feb 2013 12:54:03 -0800 Subject: [PATCH] separated sqlce and db4o tests. --- NzbDrone.Core.Test/CentralDispatchFixture.cs | 2 +- .../Datastore/ObjectDatabaseFixture.cs | 58 +++++----- NzbDrone.Core.Test/EpisodeParseResultTest.cs | 2 +- NzbDrone.Core.Test/EpisodeStatusTest.cs | 2 +- NzbDrone.Core.Test/FluentTest.cs | 2 +- .../Framework/CoreTestTSubject.cs | 2 +- .../Framework/{CoreTest.cs => SqlCeTest.cs} | 102 ++++++++++-------- .../HelperTests/SortHelperFixture.cs | 2 +- .../ConvertToDayOfWeekFixture.cs | 2 +- .../XElementHelperTests/ConvertToTFixture.cs | 2 +- .../IndexerTests/IndexerFixture.cs | 2 +- .../IndexerTests/NzbxFixture.cs | 2 +- .../ServiceIntegerationFixture.cs | 2 +- .../JobTests/AppUpdateJobFixture.cs | 2 +- .../JobTests/BacklogSearchJobTest.cs | 2 +- .../JobTests/BannerDownloadJobTest.cs | 2 +- .../JobTests/DiskScanJobTest.cs | 2 +- .../JobTests/EpisodeSearchJobTest.cs | 2 +- .../JobTests/ImportNewSeriesJobTest.cs | 2 +- .../JobTests/PostDownloadScanJobFixture.cs | 2 +- .../JobTests/RecentBacklogSearchJobTest.cs | 2 +- NzbDrone.Core.Test/JobTests/RssSyncJobTest.cs | 2 +- .../JobTests/SeasonSearchJobTest.cs | 2 +- .../JobTests/SeriesSearchJobTest.cs | 2 +- NzbDrone.Core.Test/NzbDrone.Core.Test.csproj | 2 +- .../ParserTests/ParserFixture.cs | 2 +- .../ParserTests/QualityParserFixture.cs | 2 +- .../ProviderTests/BannerProviderTest.cs | 2 +- .../ConfigCachingFixture.cs | 2 +- .../ConfigProviderFixture.cs | 2 +- .../AcceptableSizeSpecificationFixture.cs | 2 +- .../AllowedDownloadSpecificationFixture.cs | 2 +- ...AllowedReleaseGroupSpecificationFixture.cs | 2 +- .../CustomStartDateSpecificationFixture.cs | 2 +- .../LanguageSpecificationFixture.cs | 2 +- .../MonitoredEpisodeSpecificationFixture.cs | 2 +- ...ityAllowedByProfileSpecificationFixture.cs | 2 +- .../QualityUpgradeSpecificationFixture.cs | 2 +- .../RetentionSpecificationFixture.cs | 2 +- .../UpgradeDiskSpecificationFixture.cs | 2 +- .../UpgradeHistorySpecificationFixture.cs | 2 +- .../UpgradePossibleSpecificationFixture.cs | 2 +- .../ExtractArchiveFixture.cs | 2 +- .../DiskProviderTests/FreeDiskSpaceTest.cs | 2 +- .../CleanUpDropFolderFixture.cs | 2 +- .../DiskScanProviderTests/CleanUpFixture.cs | 2 +- .../GetVideoFilesFixture.cs | 2 +- .../ImportFileFixture.cs | 2 +- .../MoveEpisodeFileFixture.cs | 2 +- .../DiskScanProviderTests/ScanFixture.cs | 2 +- .../BlackholeProviderFixture.cs | 2 +- .../PneumaticProviderFixture.cs | 2 +- .../SabProviderTests/QueueFixture.cs | 2 +- .../SabProviderTests/SabProviderFixture.cs | 2 +- .../ContainsRecentEpisode.cs | 2 +- .../DownloadProviderFixture.cs | 2 +- .../EpisodeProviderTest.cs | 2 +- ...isodeProviderTest_DeleteInvalidEpisodes.cs | 2 +- ...deProviderTest_GetEpisodesByParseResult.cs | 2 +- .../GetEpisodeBySceneNumberFixture.cs | 2 +- .../ProviderTests/EventClientProviderTest.cs | 2 +- .../ProviderTests/GrowlProviderTest.cs | 2 +- .../ProviderTests/HistoryProviderTest.cs | 2 +- .../ProviderTests/IndexerProviderTest.cs | 2 +- .../JobProviderTests/JobProviderFixture.cs | 2 +- .../LogProviderTests/LogProviderFixture.cs | 2 +- .../ProviderTests/MediaFileProviderTest.cs | 2 +- .../CleanUpDatabaseFixture.cs | 2 +- .../GetNewFilenameFixture.cs | 2 +- .../Metadata/Xbmc_ForEpisodeFile_Fixture.cs | 2 +- .../Metadata/Xbmc_ForSeries_Fixture.cs | 2 +- .../ProviderTests/MisnamedProviderTest.cs | 2 +- .../ProviderTests/NewznabProviderTest.cs | 2 +- .../ProviderTests/PlexProviderTest.cs | 2 +- .../GetFolderNameWithStatusFixture.cs | 2 +- .../ProcessDownloadFixture.cs | 2 +- .../ProcessDropDirectoryFixture.cs | 2 +- .../ProcessVideoFileFixture.cs | 2 +- .../ProviderTests/ProwlProviderTest.cs | 2 +- .../ProviderTests/QualityTypeProviderTest.cs | 2 +- .../RecycleBinProviderTests/CleanupFixture.cs | 2 +- .../DeleteDirectoryFixture.cs | 2 +- .../DeleteFileFixture.cs | 2 +- .../RecycleBinProviderTests/EmptyFixture.cs | 2 +- .../ReferenceDataProviderTest.cs | 2 +- .../FreeSpaceOnDrivesFixture.cs | 2 +- .../RootDirProviderFixture.cs | 2 +- .../ProviderTests/SceneMappingProviderTest.cs | 2 +- .../SearchHistoryProviderTest.cs | 2 +- .../ProviderTests/SeasonProviderTest.cs | 2 +- .../ProviderTests/SeriesProviderTest.cs | 2 +- .../ProviderTests/TvDbProviderTest.cs | 2 +- .../TvRageProviderTests/GetSeriesFixture.cs | 2 +- .../GetUtcOffsetFixture.cs | 2 +- .../SearchSeriesFixture.cs | 2 +- .../UpcomingEpisodesProviderTest.cs | 2 +- .../GetAvilableUpdateFixture.cs | 2 +- .../GetUpdateLogFixture.cs | 2 +- .../ProviderTests/XbmcProviderTest.cs | 2 +- .../GetSceneTvdbMappingsFixture.cs | 2 +- .../GetXemSeriesIdsFixture.cs | 2 +- NzbDrone.Core.Test/QualityProfileTest.cs | 2 +- NzbDrone.Core.Test/QualityTest.cs | 2 +- NzbDrone.Core.Test/QualityTypesTest.cs | 2 +- .../Services/ParseErrorServiceFixture.cs | 2 +- NzbDrone.Core.Test/dbBenchmark.cs | 2 +- 106 files changed, 192 insertions(+), 176 deletions(-) rename NzbDrone.Core.Test/Framework/{CoreTest.cs => SqlCeTest.cs} (85%) diff --git a/NzbDrone.Core.Test/CentralDispatchFixture.cs b/NzbDrone.Core.Test/CentralDispatchFixture.cs index c6f485bf6..4de601e2b 100644 --- a/NzbDrone.Core.Test/CentralDispatchFixture.cs +++ b/NzbDrone.Core.Test/CentralDispatchFixture.cs @@ -17,7 +17,7 @@ namespace NzbDrone.Core.Test [TestFixture] [ExclusivelyUses("REAL_LOG_FILE")] [Serial] - class CentralDispatchFixture : CoreTest + class CentralDispatchFixture : SqlCeTest { readonly IList indexers = typeof(CentralDispatch).Assembly.GetTypes().Where(t => t.IsSubclassOf(typeof(IndexerBase))).Select(c => c.ToString()).ToList(); readonly IList jobs = typeof(CentralDispatch).Assembly.GetTypes().Where(t => t.GetInterfaces().Contains(typeof(IJob))).Select(c=>c.ToString()).ToList(); diff --git a/NzbDrone.Core.Test/Datastore/ObjectDatabaseFixture.cs b/NzbDrone.Core.Test/Datastore/ObjectDatabaseFixture.cs index c8a651b0a..93abe509f 100644 --- a/NzbDrone.Core.Test/Datastore/ObjectDatabaseFixture.cs +++ b/NzbDrone.Core.Test/Datastore/ObjectDatabaseFixture.cs @@ -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.CreateNew().Build(); - ObjDb.Create(series); + Db.Create(series); - ObjDb.Ext().Purge(); + Db.Ext().Purge(); - ObjDb.AsQueryable().Should().HaveCount(1); + Db.AsQueryable().Should().HaveCount(1); } @@ -35,15 +35,15 @@ namespace NzbDrone.Core.Test.Datastore public void should_not_store_dirty_data_in_cache() { var episode = Builder.CreateNew().Build(); - + //Save series without episode attached - ObjDb.Create(episode); - - ObjDb.AsQueryable().Single().Series.Should().BeNull(); - + Db.Create(episode); + + Db.AsQueryable().Single().Series.Should().BeNull(); + episode.Series = Builder.CreateNew().Build(); - ObjDb.AsQueryable().Single().Series.Should().BeNull(); + Db.AsQueryable().Single().Series.Should().BeNull(); } @@ -51,14 +51,14 @@ namespace NzbDrone.Core.Test.Datastore public void rollback_should_reset_state() { var episode = Builder.CreateNew().Build(); - - ObjDb.Create(episode); - ObjDb.AsQueryable().Should().HaveCount(1); + Db.Create(episode); + + Db.AsQueryable().Should().HaveCount(1); - ObjDb.Rollback(); + Db.Rollback(); - ObjDb.AsQueryable().Should().HaveCount(0); + Db.AsQueryable().Should().HaveCount(0); } [Test] @@ -67,16 +67,16 @@ namespace NzbDrone.Core.Test.Datastore var episode = Builder.CreateNew().Build(); var series = Builder.CreateNew().Build(); - ObjDb.Create(episode); + Db.Create(episode); - ObjDb.Commit(); + Db.Commit(); - ObjDb.Create(series); + Db.Create(series); - ObjDb.Rollback(); + Db.Rollback(); - ObjDb.AsQueryable().Should().HaveCount(1); - ObjDb.AsQueryable().Should().HaveCount(0); + Db.AsQueryable().Should().HaveCount(1); + Db.AsQueryable().Should().HaveCount(0); } @@ -86,10 +86,10 @@ namespace NzbDrone.Core.Test.Datastore var episode = Builder.CreateNew().Build(); episode.Series = Builder.CreateNew().Build(); - ObjDb.Create(episode); + Db.Create(episode); - ObjDb.AsQueryable().Should().HaveCount(1); - ObjDb.AsQueryable().Single().Series.Should().NotBeNull(); + Db.AsQueryable().Should().HaveCount(1); + Db.AsQueryable().Single().Series.Should().NotBeNull(); } [Test] @@ -98,15 +98,15 @@ namespace NzbDrone.Core.Test.Datastore var episode = Builder.CreateNew().Build(); episode.Series = Builder.CreateNew().Build(); - ObjDb.Create(episode); + Db.Create(episode); episode.Series.Title = "UpdatedTitle"; - ObjDb.Update(episode,2); + Db.Update(episode, 2); - ObjDb.AsQueryable().Should().HaveCount(1); - ObjDb.AsQueryable().Single().Series.Should().NotBeNull(); - ObjDb.AsQueryable().Single().Series.Title.Should().Be("UpdatedTitle"); + Db.AsQueryable().Should().HaveCount(1); + Db.AsQueryable().Single().Series.Should().NotBeNull(); + Db.AsQueryable().Single().Series.Title.Should().Be("UpdatedTitle"); } } } diff --git a/NzbDrone.Core.Test/EpisodeParseResultTest.cs b/NzbDrone.Core.Test/EpisodeParseResultTest.cs index 3f9d2253a..60f100d3b 100644 --- a/NzbDrone.Core.Test/EpisodeParseResultTest.cs +++ b/NzbDrone.Core.Test/EpisodeParseResultTest.cs @@ -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() diff --git a/NzbDrone.Core.Test/EpisodeStatusTest.cs b/NzbDrone.Core.Test/EpisodeStatusTest.cs index 5c1866954..8ceec9f6b 100644 --- a/NzbDrone.Core.Test/EpisodeStatusTest.cs +++ b/NzbDrone.Core.Test/EpisodeStatusTest.cs @@ -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)] diff --git a/NzbDrone.Core.Test/FluentTest.cs b/NzbDrone.Core.Test/FluentTest.cs index 5974ba814..b6cdae1bc 100644 --- a/NzbDrone.Core.Test/FluentTest.cs +++ b/NzbDrone.Core.Test/FluentTest.cs @@ -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")] diff --git a/NzbDrone.Core.Test/Framework/CoreTestTSubject.cs b/NzbDrone.Core.Test/Framework/CoreTestTSubject.cs index aee497093..00793cba1 100644 --- a/NzbDrone.Core.Test/Framework/CoreTestTSubject.cs +++ b/NzbDrone.Core.Test/Framework/CoreTestTSubject.cs @@ -1,6 +1,6 @@ namespace NzbDrone.Core.Test.Framework { - public abstract class CoreTest : CoreTest where TSubject : class + public abstract class SqlCeTest : SqlCeTest where TSubject : class { private TSubject _subject; diff --git a/NzbDrone.Core.Test/Framework/CoreTest.cs b/NzbDrone.Core.Test/Framework/SqlCeTest.cs similarity index 85% rename from NzbDrone.Core.Test/Framework/CoreTest.cs rename to NzbDrone.Core.Test/Framework/SqlCeTest.cs index 9e0190682..94a8fe2c3 100644 --- a/NzbDrone.Core.Test/Framework/CoreTest.cs +++ b/NzbDrone.Core.Test/Framework/SqlCeTest.cs @@ -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(); - } } } } diff --git a/NzbDrone.Core.Test/HelperTests/SortHelperFixture.cs b/NzbDrone.Core.Test/HelperTests/SortHelperFixture.cs index 19f6d028a..694919241 100644 --- a/NzbDrone.Core.Test/HelperTests/SortHelperFixture.cs +++ b/NzbDrone.Core.Test/HelperTests/SortHelperFixture.cs @@ -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")] diff --git a/NzbDrone.Core.Test/HelperTests/XElementHelperTests/ConvertToDayOfWeekFixture.cs b/NzbDrone.Core.Test/HelperTests/XElementHelperTests/ConvertToDayOfWeekFixture.cs index 1ba43c3fd..11d6b5beb 100644 --- a/NzbDrone.Core.Test/HelperTests/XElementHelperTests/ConvertToDayOfWeekFixture.cs +++ b/NzbDrone.Core.Test/HelperTests/XElementHelperTests/ConvertToDayOfWeekFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/HelperTests/XElementHelperTests/ConvertToTFixture.cs b/NzbDrone.Core.Test/HelperTests/XElementHelperTests/ConvertToTFixture.cs index 71256c40d..bba920af5 100644 --- a/NzbDrone.Core.Test/HelperTests/XElementHelperTests/ConvertToTFixture.cs +++ b/NzbDrone.Core.Test/HelperTests/XElementHelperTests/ConvertToTFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/IndexerTests/IndexerFixture.cs b/NzbDrone.Core.Test/IndexerTests/IndexerFixture.cs index 603e3a890..5988aa134 100644 --- a/NzbDrone.Core.Test/IndexerTests/IndexerFixture.cs +++ b/NzbDrone.Core.Test/IndexerTests/IndexerFixture.cs @@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.IndexerTests { [TestFixture] // ReSharper disable InconsistentNaming - public class IndexerFixture : CoreTest + public class IndexerFixture : SqlCeTest { private void WithConfiguredIndexers() { diff --git a/NzbDrone.Core.Test/IndexerTests/NzbxFixture.cs b/NzbDrone.Core.Test/IndexerTests/NzbxFixture.cs index 3f4f836cd..73ca8e891 100644 --- a/NzbDrone.Core.Test/IndexerTests/NzbxFixture.cs +++ b/NzbDrone.Core.Test/IndexerTests/NzbxFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/Integeration/ServiceIntegerationFixture.cs b/NzbDrone.Core.Test/Integeration/ServiceIntegerationFixture.cs index da30f5431..eb2a8ee4d 100644 --- a/NzbDrone.Core.Test/Integeration/ServiceIntegerationFixture.cs +++ b/NzbDrone.Core.Test/Integeration/ServiceIntegerationFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/JobTests/AppUpdateJobFixture.cs b/NzbDrone.Core.Test/JobTests/AppUpdateJobFixture.cs index a7f384dd7..9e71ff34d 100644 --- a/NzbDrone.Core.Test/JobTests/AppUpdateJobFixture.cs +++ b/NzbDrone.Core.Test/JobTests/AppUpdateJobFixture.cs @@ -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\"; diff --git a/NzbDrone.Core.Test/JobTests/BacklogSearchJobTest.cs b/NzbDrone.Core.Test/JobTests/BacklogSearchJobTest.cs index 7362c71d3..1cb48cc05 100644 --- a/NzbDrone.Core.Test/JobTests/BacklogSearchJobTest.cs +++ b/NzbDrone.Core.Test/JobTests/BacklogSearchJobTest.cs @@ -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() { diff --git a/NzbDrone.Core.Test/JobTests/BannerDownloadJobTest.cs b/NzbDrone.Core.Test/JobTests/BannerDownloadJobTest.cs index 768d187be..37bdd4a3f 100644 --- a/NzbDrone.Core.Test/JobTests/BannerDownloadJobTest.cs +++ b/NzbDrone.Core.Test/JobTests/BannerDownloadJobTest.cs @@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.JobTests { [TestFixture] // ReSharper disable InconsistentNaming - public class BannerDownloadJobTest : CoreTest + public class BannerDownloadJobTest : SqlCeTest { private ProgressNotification _notification; diff --git a/NzbDrone.Core.Test/JobTests/DiskScanJobTest.cs b/NzbDrone.Core.Test/JobTests/DiskScanJobTest.cs index a126348a2..dbf13680a 100644 --- a/NzbDrone.Core.Test/JobTests/DiskScanJobTest.cs +++ b/NzbDrone.Core.Test/JobTests/DiskScanJobTest.cs @@ -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() diff --git a/NzbDrone.Core.Test/JobTests/EpisodeSearchJobTest.cs b/NzbDrone.Core.Test/JobTests/EpisodeSearchJobTest.cs index d5333766f..4dfe89779 100644 --- a/NzbDrone.Core.Test/JobTests/EpisodeSearchJobTest.cs +++ b/NzbDrone.Core.Test/JobTests/EpisodeSearchJobTest.cs @@ -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)] diff --git a/NzbDrone.Core.Test/JobTests/ImportNewSeriesJobTest.cs b/NzbDrone.Core.Test/JobTests/ImportNewSeriesJobTest.cs index 646a1921b..6ee0386fa 100644 --- a/NzbDrone.Core.Test/JobTests/ImportNewSeriesJobTest.cs +++ b/NzbDrone.Core.Test/JobTests/ImportNewSeriesJobTest.cs @@ -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() diff --git a/NzbDrone.Core.Test/JobTests/PostDownloadScanJobFixture.cs b/NzbDrone.Core.Test/JobTests/PostDownloadScanJobFixture.cs index b92ff1258..ddf76a847 100644 --- a/NzbDrone.Core.Test/JobTests/PostDownloadScanJobFixture.cs +++ b/NzbDrone.Core.Test/JobTests/PostDownloadScanJobFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/JobTests/RecentBacklogSearchJobTest.cs b/NzbDrone.Core.Test/JobTests/RecentBacklogSearchJobTest.cs index 5a9a814bf..af0fdb66a 100644 --- a/NzbDrone.Core.Test/JobTests/RecentBacklogSearchJobTest.cs +++ b/NzbDrone.Core.Test/JobTests/RecentBacklogSearchJobTest.cs @@ -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() { diff --git a/NzbDrone.Core.Test/JobTests/RssSyncJobTest.cs b/NzbDrone.Core.Test/JobTests/RssSyncJobTest.cs index b6e567ce1..8e6bf4bfd 100644 --- a/NzbDrone.Core.Test/JobTests/RssSyncJobTest.cs +++ b/NzbDrone.Core.Test/JobTests/RssSyncJobTest.cs @@ -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) { diff --git a/NzbDrone.Core.Test/JobTests/SeasonSearchJobTest.cs b/NzbDrone.Core.Test/JobTests/SeasonSearchJobTest.cs index 0f1bff47e..899cf51c1 100644 --- a/NzbDrone.Core.Test/JobTests/SeasonSearchJobTest.cs +++ b/NzbDrone.Core.Test/JobTests/SeasonSearchJobTest.cs @@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.JobTests { [TestFixture] // ReSharper disable InconsistentNaming - public class SeasonSearchJobTest : CoreTest + public class SeasonSearchJobTest : SqlCeTest { private IList _episodes; diff --git a/NzbDrone.Core.Test/JobTests/SeriesSearchJobTest.cs b/NzbDrone.Core.Test/JobTests/SeriesSearchJobTest.cs index 8dc9069b3..ab813f982 100644 --- a/NzbDrone.Core.Test/JobTests/SeriesSearchJobTest.cs +++ b/NzbDrone.Core.Test/JobTests/SeriesSearchJobTest.cs @@ -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() diff --git a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj index 0771699af..78d934a20 100644 --- a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj +++ b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj @@ -246,7 +246,7 @@ - + diff --git a/NzbDrone.Core.Test/ParserTests/ParserFixture.cs b/NzbDrone.Core.Test/ParserTests/ParserFixture.cs index e82c4b3aa..9658ebaaa 100644 --- a/NzbDrone.Core.Test/ParserTests/ParserFixture.cs +++ b/NzbDrone.Core.Test/ParserTests/ParserFixture.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 diff --git a/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs b/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs index 7cc5f7e41..f565dfd2f 100644 --- a/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs +++ b/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs @@ -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 = { diff --git a/NzbDrone.Core.Test/ProviderTests/BannerProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/BannerProviderTest.cs index a58d32bac..a75a48870 100644 --- a/NzbDrone.Core.Test/ProviderTests/BannerProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/BannerProviderTest.cs @@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests { [TestFixture] // ReSharper disable InconsistentNaming - public class BannerProviderTest : CoreTest + public class BannerProviderTest : SqlCeTest { private Series _series; diff --git a/NzbDrone.Core.Test/ProviderTests/ConfigProviderTests/ConfigCachingFixture.cs b/NzbDrone.Core.Test/ProviderTests/ConfigProviderTests/ConfigCachingFixture.cs index f71184d43..155d5b201 100644 --- a/NzbDrone.Core.Test/ProviderTests/ConfigProviderTests/ConfigCachingFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/ConfigProviderTests/ConfigCachingFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/ConfigProviderTests/ConfigProviderFixture.cs b/NzbDrone.Core.Test/ProviderTests/ConfigProviderTests/ConfigProviderFixture.cs index 7436a00dc..f26d4f1ad 100644 --- a/NzbDrone.Core.Test/ProviderTests/ConfigProviderTests/ConfigProviderFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/ConfigProviderTests/ConfigProviderFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/AcceptableSizeSpecificationFixture.cs b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/AcceptableSizeSpecificationFixture.cs index 2e1690a8c..e8a90dbd4 100644 --- a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/AcceptableSizeSpecificationFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/AcceptableSizeSpecificationFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/AllowedDownloadSpecificationFixture.cs b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/AllowedDownloadSpecificationFixture.cs index ff143f98a..884dde619 100644 --- a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/AllowedDownloadSpecificationFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/AllowedDownloadSpecificationFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/AllowedReleaseGroupSpecificationFixture.cs b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/AllowedReleaseGroupSpecificationFixture.cs index 223c34201..71eef1f18 100644 --- a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/AllowedReleaseGroupSpecificationFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/AllowedReleaseGroupSpecificationFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/CustomStartDateSpecificationFixture.cs b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/CustomStartDateSpecificationFixture.cs index 95d3d3ada..9967816b9 100644 --- a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/CustomStartDateSpecificationFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/CustomStartDateSpecificationFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/LanguageSpecificationFixture.cs b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/LanguageSpecificationFixture.cs index 796160a7a..c0aaaf9de 100644 --- a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/LanguageSpecificationFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/LanguageSpecificationFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/MonitoredEpisodeSpecificationFixture.cs b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/MonitoredEpisodeSpecificationFixture.cs index 7b6f624ab..374ac934d 100644 --- a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/MonitoredEpisodeSpecificationFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/MonitoredEpisodeSpecificationFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/QualityAllowedByProfileSpecificationFixture.cs b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/QualityAllowedByProfileSpecificationFixture.cs index e3c9b79a6..b870ab936 100644 --- a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/QualityAllowedByProfileSpecificationFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/QualityAllowedByProfileSpecificationFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/QualityUpgradeSpecificationFixture.cs b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/QualityUpgradeSpecificationFixture.cs index a8ad64e89..258040f95 100644 --- a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/QualityUpgradeSpecificationFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/QualityUpgradeSpecificationFixture.cs @@ -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 = { diff --git a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/RetentionSpecificationFixture.cs b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/RetentionSpecificationFixture.cs index 520f5a084..0e41a9a56 100644 --- a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/RetentionSpecificationFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/RetentionSpecificationFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/UpgradeDiskSpecificationFixture.cs b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/UpgradeDiskSpecificationFixture.cs index 128bfe93a..6372dfe6d 100644 --- a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/UpgradeDiskSpecificationFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/UpgradeDiskSpecificationFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/UpgradeHistorySpecificationFixture.cs b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/UpgradeHistorySpecificationFixture.cs index 565ea6ed4..9f447be02 100644 --- a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/UpgradeHistorySpecificationFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/UpgradeHistorySpecificationFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/UpgradePossibleSpecificationFixture.cs b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/UpgradePossibleSpecificationFixture.cs index f5cc36457..cc5790934 100644 --- a/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/UpgradePossibleSpecificationFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DecisionEngineTests/UpgradePossibleSpecificationFixture.cs @@ -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() { diff --git a/NzbDrone.Core.Test/ProviderTests/DiskProviderTests/ExtractArchiveFixture.cs b/NzbDrone.Core.Test/ProviderTests/DiskProviderTests/ExtractArchiveFixture.cs index 0cb4071e6..fe42d0d54 100644 --- a/NzbDrone.Core.Test/ProviderTests/DiskProviderTests/ExtractArchiveFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DiskProviderTests/ExtractArchiveFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/DiskProviderTests/FreeDiskSpaceTest.cs b/NzbDrone.Core.Test/ProviderTests/DiskProviderTests/FreeDiskSpaceTest.cs index 0ed439520..2f3176887 100644 --- a/NzbDrone.Core.Test/ProviderTests/DiskProviderTests/FreeDiskSpaceTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/DiskProviderTests/FreeDiskSpaceTest.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/CleanUpDropFolderFixture.cs b/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/CleanUpDropFolderFixture.cs index ba803c4ed..939fd166b 100644 --- a/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/CleanUpDropFolderFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/CleanUpDropFolderFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/CleanUpFixture.cs b/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/CleanUpFixture.cs index 236fda84c..4ef8fb9d6 100644 --- a/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/CleanUpFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/CleanUpFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/GetVideoFilesFixture.cs b/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/GetVideoFilesFixture.cs index 13973bfe8..8236aed6a 100644 --- a/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/GetVideoFilesFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/GetVideoFilesFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/ImportFileFixture.cs b/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/ImportFileFixture.cs index 6b4c7338c..887e983e4 100644 --- a/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/ImportFileFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/ImportFileFixture.cs @@ -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 = { diff --git a/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/MoveEpisodeFileFixture.cs b/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/MoveEpisodeFileFixture.cs index 125312ba5..f1198feaa 100644 --- a/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/MoveEpisodeFileFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/MoveEpisodeFileFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/ScanFixture.cs b/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/ScanFixture.cs index 2c1d22613..97cef8a49 100644 --- a/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/ScanFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DiskScanProviderTests/ScanFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/BlackholeProviderFixture.cs b/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/BlackholeProviderFixture.cs index af4c40858..b0a5476a8 100644 --- a/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/BlackholeProviderFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/BlackholeProviderFixture.cs @@ -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"; diff --git a/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/PneumaticProviderFixture.cs b/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/PneumaticProviderFixture.cs index 19c74d22b..994b36b6e 100644 --- a/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/PneumaticProviderFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/PneumaticProviderFixture.cs @@ -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"; diff --git a/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/SabProviderTests/QueueFixture.cs b/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/SabProviderTests/QueueFixture.cs index 56ca84c3b..17ef0422f 100644 --- a/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/SabProviderTests/QueueFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/SabProviderTests/QueueFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/SabProviderTests/SabProviderFixture.cs b/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/SabProviderTests/SabProviderFixture.cs index d8e1a3181..f6eeede69 100644 --- a/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/SabProviderTests/SabProviderFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DownloadClientTests/SabProviderTests/SabProviderFixture.cs @@ -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]"; diff --git a/NzbDrone.Core.Test/ProviderTests/DownloadProviderTests/ContainsRecentEpisode.cs b/NzbDrone.Core.Test/ProviderTests/DownloadProviderTests/ContainsRecentEpisode.cs index 1a44301a8..1005aed86 100644 --- a/NzbDrone.Core.Test/ProviderTests/DownloadProviderTests/ContainsRecentEpisode.cs +++ b/NzbDrone.Core.Test/ProviderTests/DownloadProviderTests/ContainsRecentEpisode.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/DownloadProviderTests/DownloadProviderFixture.cs b/NzbDrone.Core.Test/ProviderTests/DownloadProviderTests/DownloadProviderFixture.cs index d9d54e2e8..0a32e42d7 100644 --- a/NzbDrone.Core.Test/ProviderTests/DownloadProviderTests/DownloadProviderFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DownloadProviderTests/DownloadProviderFixture.cs @@ -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 = { diff --git a/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/EpisodeProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/EpisodeProviderTest.cs index 8b4aae5c8..923a234ad 100644 --- a/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/EpisodeProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/EpisodeProviderTest.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/EpisodeProviderTest_DeleteInvalidEpisodes.cs b/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/EpisodeProviderTest_DeleteInvalidEpisodes.cs index 2f4ce89a7..222166942 100644 --- a/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/EpisodeProviderTest_DeleteInvalidEpisodes.cs +++ b/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/EpisodeProviderTest_DeleteInvalidEpisodes.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/EpisodeProviderTest_GetEpisodesByParseResult.cs b/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/EpisodeProviderTest_GetEpisodesByParseResult.cs index 2d726a2fa..dda01dd9b 100644 --- a/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/EpisodeProviderTest_GetEpisodesByParseResult.cs +++ b/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/EpisodeProviderTest_GetEpisodesByParseResult.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/GetEpisodeBySceneNumberFixture.cs b/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/GetEpisodeBySceneNumberFixture.cs index b4a4726bc..5c48a1f47 100644 --- a/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/GetEpisodeBySceneNumberFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/EpisodeProviderTests/GetEpisodeBySceneNumberFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/EventClientProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/EventClientProviderTest.cs index c61f54024..51049febd 100644 --- a/NzbDrone.Core.Test/ProviderTests/EventClientProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/EventClientProviderTest.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/GrowlProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/GrowlProviderTest.cs index a2e89ca7c..8866f88e9 100644 --- a/NzbDrone.Core.Test/ProviderTests/GrowlProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/GrowlProviderTest.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/HistoryProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/HistoryProviderTest.cs index 7a9cac64f..d4af2e714 100644 --- a/NzbDrone.Core.Test/ProviderTests/HistoryProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/HistoryProviderTest.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/IndexerProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/IndexerProviderTest.cs index bfb906ebf..8dacb9ecd 100644 --- a/NzbDrone.Core.Test/ProviderTests/IndexerProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/IndexerProviderTest.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/JobProviderTests/JobProviderFixture.cs b/NzbDrone.Core.Test/ProviderTests/JobProviderTests/JobProviderFixture.cs index 5de2c1b4a..3b5efc61f 100644 --- a/NzbDrone.Core.Test/ProviderTests/JobProviderTests/JobProviderFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/JobProviderTests/JobProviderFixture.cs @@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests.JobProviderTests { [TestFixture] [ExclusivelyUses("JOB_PROVIDER")] - public class JobProviderFixture : CoreTest + public class JobProviderFixture : SqlCeTest { FakeJob fakeJob; diff --git a/NzbDrone.Core.Test/ProviderTests/LogProviderTests/LogProviderFixture.cs b/NzbDrone.Core.Test/ProviderTests/LogProviderTests/LogProviderFixture.cs index 665c1800f..31a3f956f 100644 --- a/NzbDrone.Core.Test/ProviderTests/LogProviderTests/LogProviderFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/LogProviderTests/LogProviderFixture.cs @@ -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"; diff --git a/NzbDrone.Core.Test/ProviderTests/MediaFileProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/MediaFileProviderTest.cs index cf4275220..c584fe590 100644 --- a/NzbDrone.Core.Test/ProviderTests/MediaFileProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/MediaFileProviderTest.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/MediaFileProviderTests/CleanUpDatabaseFixture.cs b/NzbDrone.Core.Test/ProviderTests/MediaFileProviderTests/CleanUpDatabaseFixture.cs index f812bbfc1..bae1e5d16 100644 --- a/NzbDrone.Core.Test/ProviderTests/MediaFileProviderTests/CleanUpDatabaseFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/MediaFileProviderTests/CleanUpDatabaseFixture.cs @@ -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] diff --git a/NzbDrone.Core.Test/ProviderTests/MediaFileProviderTests/GetNewFilenameFixture.cs b/NzbDrone.Core.Test/ProviderTests/MediaFileProviderTests/GetNewFilenameFixture.cs index c765d0561..fbfe6eeb3 100644 --- a/NzbDrone.Core.Test/ProviderTests/MediaFileProviderTests/GetNewFilenameFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/MediaFileProviderTests/GetNewFilenameFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/Metadata/Xbmc_ForEpisodeFile_Fixture.cs b/NzbDrone.Core.Test/ProviderTests/Metadata/Xbmc_ForEpisodeFile_Fixture.cs index d579b4406..49c7035c3 100644 --- a/NzbDrone.Core.Test/ProviderTests/Metadata/Xbmc_ForEpisodeFile_Fixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/Metadata/Xbmc_ForEpisodeFile_Fixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/Metadata/Xbmc_ForSeries_Fixture.cs b/NzbDrone.Core.Test/ProviderTests/Metadata/Xbmc_ForSeries_Fixture.cs index ce2731037..f36b04e21 100644 --- a/NzbDrone.Core.Test/ProviderTests/Metadata/Xbmc_ForSeries_Fixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/Metadata/Xbmc_ForSeries_Fixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/MisnamedProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/MisnamedProviderTest.cs index 6f23d3eae..6f0ee6c1b 100644 --- a/NzbDrone.Core.Test/ProviderTests/MisnamedProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/MisnamedProviderTest.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/NewznabProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/NewznabProviderTest.cs index 1111b365b..b1cddb326 100644 --- a/NzbDrone.Core.Test/ProviderTests/NewznabProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/NewznabProviderTest.cs @@ -14,7 +14,7 @@ namespace NzbDrone.Core.Test.ProviderTests { [TestFixture] // ReSharper disable InconsistentNaming - public class NewznabProviderTest : CoreTest + public class NewznabProviderTest : SqlCeTest { [SetUp] public void SetUp() diff --git a/NzbDrone.Core.Test/ProviderTests/PlexProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/PlexProviderTest.cs index d0629f4f4..f20091599 100644 --- a/NzbDrone.Core.Test/ProviderTests/PlexProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/PlexProviderTest.cs @@ -22,7 +22,7 @@ namespace NzbDrone.Core.Test.ProviderTests { [TestFixture] // ReSharper disable InconsistentNaming - public class PlexProviderTest : CoreTest + public class PlexProviderTest : SqlCeTest { private void WithSingleClient() { diff --git a/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/GetFolderNameWithStatusFixture.cs b/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/GetFolderNameWithStatusFixture.cs index 1e45f27ba..44d692a8a 100644 --- a/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/GetFolderNameWithStatusFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/GetFolderNameWithStatusFixture.cs @@ -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)] diff --git a/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/ProcessDownloadFixture.cs b/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/ProcessDownloadFixture.cs index de0ad4597..e49f2ac72 100644 --- a/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/ProcessDownloadFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/ProcessDownloadFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/ProcessDropDirectoryFixture.cs b/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/ProcessDropDirectoryFixture.cs index a6751590a..a5543a53a 100644 --- a/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/ProcessDropDirectoryFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/ProcessDropDirectoryFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/ProcessVideoFileFixture.cs b/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/ProcessVideoFileFixture.cs index 2f5535f93..966119536 100644 --- a/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/ProcessVideoFileFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/PostDownloadProviderTests/ProcessVideoFileFixture.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/ProwlProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/ProwlProviderTest.cs index 3a8f4819f..fe85a2216 100644 --- a/NzbDrone.Core.Test/ProviderTests/ProwlProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/ProwlProviderTest.cs @@ -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"; diff --git a/NzbDrone.Core.Test/ProviderTests/QualityTypeProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/QualityTypeProviderTest.cs index f11662e6f..fe06b6a54 100644 --- a/NzbDrone.Core.Test/ProviderTests/QualityTypeProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/QualityTypeProviderTest.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/CleanupFixture.cs b/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/CleanupFixture.cs index dd4255406..5fe5d987c 100644 --- a/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/CleanupFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/CleanupFixture.cs @@ -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"; diff --git a/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/DeleteDirectoryFixture.cs b/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/DeleteDirectoryFixture.cs index e4cd1fd3b..f9ce7a0a5 100644 --- a/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/DeleteDirectoryFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/DeleteDirectoryFixture.cs @@ -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() { diff --git a/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/DeleteFileFixture.cs b/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/DeleteFileFixture.cs index 5ac5c3378..f5343b7fe 100644 --- a/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/DeleteFileFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/DeleteFileFixture.cs @@ -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() { diff --git a/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/EmptyFixture.cs b/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/EmptyFixture.cs index 1835dda2a..83759159d 100644 --- a/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/EmptyFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/RecycleBinProviderTests/EmptyFixture.cs @@ -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"; diff --git a/NzbDrone.Core.Test/ProviderTests/ReferenceDataProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/ReferenceDataProviderTest.cs index b27201320..50fc641fc 100644 --- a/NzbDrone.Core.Test/ProviderTests/ReferenceDataProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/ReferenceDataProviderTest.cs @@ -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]"; diff --git a/NzbDrone.Core.Test/ProviderTests/RootDirProviderTests/FreeSpaceOnDrivesFixture.cs b/NzbDrone.Core.Test/ProviderTests/RootDirProviderTests/FreeSpaceOnDrivesFixture.cs index a508355be..aadb33bf7 100644 --- a/NzbDrone.Core.Test/ProviderTests/RootDirProviderTests/FreeSpaceOnDrivesFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/RootDirProviderTests/FreeSpaceOnDrivesFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/RootDirProviderTests/RootDirProviderFixture.cs b/NzbDrone.Core.Test/ProviderTests/RootDirProviderTests/RootDirProviderFixture.cs index 4d1da14d2..a7701dcc3 100644 --- a/NzbDrone.Core.Test/ProviderTests/RootDirProviderTests/RootDirProviderFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/RootDirProviderTests/RootDirProviderFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/SceneMappingProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/SceneMappingProviderTest.cs index e959b5385..847a1e949 100644 --- a/NzbDrone.Core.Test/ProviderTests/SceneMappingProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/SceneMappingProviderTest.cs @@ -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"; diff --git a/NzbDrone.Core.Test/ProviderTests/SearchHistoryProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/SearchHistoryProviderTest.cs index fbd358318..af652fce5 100644 --- a/NzbDrone.Core.Test/ProviderTests/SearchHistoryProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/SearchHistoryProviderTest.cs @@ -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; diff --git a/NzbDrone.Core.Test/ProviderTests/SeasonProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/SeasonProviderTest.cs index fa400ab90..3da861396 100644 --- a/NzbDrone.Core.Test/ProviderTests/SeasonProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/SeasonProviderTest.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/SeriesProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/SeriesProviderTest.cs index c55079e7c..08a4f1769 100644 --- a/NzbDrone.Core.Test/ProviderTests/SeriesProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/SeriesProviderTest.cs @@ -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 _qualityProfiles; diff --git a/NzbDrone.Core.Test/ProviderTests/TvDbProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/TvDbProviderTest.cs index a813722fa..499cf0b43 100644 --- a/NzbDrone.Core.Test/ProviderTests/TvDbProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/TvDbProviderTest.cs @@ -17,7 +17,7 @@ namespace NzbDrone.Core.Test.ProviderTests { [TestFixture] // ReSharper disable InconsistentNaming - public class TvDbProviderTest : CoreTest + public class TvDbProviderTest : SqlCeTest { private TvDbProvider tvDbProvider; diff --git a/NzbDrone.Core.Test/ProviderTests/TvRageProviderTests/GetSeriesFixture.cs b/NzbDrone.Core.Test/ProviderTests/TvRageProviderTests/GetSeriesFixture.cs index e905a0aea..917894131 100644 --- a/NzbDrone.Core.Test/ProviderTests/TvRageProviderTests/GetSeriesFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/TvRageProviderTests/GetSeriesFixture.cs @@ -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="; diff --git a/NzbDrone.Core.Test/ProviderTests/TvRageProviderTests/GetUtcOffsetFixture.cs b/NzbDrone.Core.Test/ProviderTests/TvRageProviderTests/GetUtcOffsetFixture.cs index aabaee44d..24f68c50d 100644 --- a/NzbDrone.Core.Test/ProviderTests/TvRageProviderTests/GetUtcOffsetFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/TvRageProviderTests/GetUtcOffsetFixture.cs @@ -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() diff --git a/NzbDrone.Core.Test/ProviderTests/TvRageProviderTests/SearchSeriesFixture.cs b/NzbDrone.Core.Test/ProviderTests/TvRageProviderTests/SearchSeriesFixture.cs index 572a86237..928712a79 100644 --- a/NzbDrone.Core.Test/ProviderTests/TvRageProviderTests/SearchSeriesFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/TvRageProviderTests/SearchSeriesFixture.cs @@ -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="; diff --git a/NzbDrone.Core.Test/ProviderTests/UpcomingEpisodesProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/UpcomingEpisodesProviderTest.cs index 317c5b0fb..297b528e5 100644 --- a/NzbDrone.Core.Test/ProviderTests/UpcomingEpisodesProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/UpcomingEpisodesProviderTest.cs @@ -13,7 +13,7 @@ namespace NzbDrone.Core.Test.ProviderTests { [TestFixture] - public class UpcomingEpisodesProviderTest : CoreTest + public class UpcomingEpisodesProviderTest : SqlCeTest { private IList episodes; private Series series; diff --git a/NzbDrone.Core.Test/ProviderTests/UpdateProviderTests/GetAvilableUpdateFixture.cs b/NzbDrone.Core.Test/ProviderTests/UpdateProviderTests/GetAvilableUpdateFixture.cs index f4cd2c542..67571ba09 100644 --- a/NzbDrone.Core.Test/ProviderTests/UpdateProviderTests/GetAvilableUpdateFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/UpdateProviderTests/GetAvilableUpdateFixture.cs @@ -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"; diff --git a/NzbDrone.Core.Test/ProviderTests/UpdateProviderTests/GetUpdateLogFixture.cs b/NzbDrone.Core.Test/ProviderTests/UpdateProviderTests/GetUpdateLogFixture.cs index cd029786f..16be7e46b 100644 --- a/NzbDrone.Core.Test/ProviderTests/UpdateProviderTests/GetUpdateLogFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/UpdateProviderTests/GetUpdateLogFixture.cs @@ -9,7 +9,7 @@ using NzbDrone.Core.Test.Framework; namespace NzbDrone.Core.Test.ProviderTests.UpdateProviderTests { - class GetUpdateLogFixture : CoreTest + class GetUpdateLogFixture : SqlCeTest { String UpdateLogFolder; diff --git a/NzbDrone.Core.Test/ProviderTests/XbmcProviderTest.cs b/NzbDrone.Core.Test/ProviderTests/XbmcProviderTest.cs index 9e4a7a19d..e8d5119e6 100644 --- a/NzbDrone.Core.Test/ProviderTests/XbmcProviderTest.cs +++ b/NzbDrone.Core.Test/ProviderTests/XbmcProviderTest.cs @@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests { [TestFixture] // ReSharper disable InconsistentNaming - public class XbmcProviderTest : CoreTest + public class XbmcProviderTest : SqlCeTest { private string EdenActivePlayers; diff --git a/NzbDrone.Core.Test/ProviderTests/XemCommunicationProviderTests/GetSceneTvdbMappingsFixture.cs b/NzbDrone.Core.Test/ProviderTests/XemCommunicationProviderTests/GetSceneTvdbMappingsFixture.cs index f5ffc95ae..a39e522b0 100644 --- a/NzbDrone.Core.Test/ProviderTests/XemCommunicationProviderTests/GetSceneTvdbMappingsFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/XemCommunicationProviderTests/GetSceneTvdbMappingsFixture.cs @@ -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() { diff --git a/NzbDrone.Core.Test/ProviderTests/XemCommunicationProviderTests/GetXemSeriesIdsFixture.cs b/NzbDrone.Core.Test/ProviderTests/XemCommunicationProviderTests/GetXemSeriesIdsFixture.cs index 55c6885de..5cfd6e8e2 100644 --- a/NzbDrone.Core.Test/ProviderTests/XemCommunicationProviderTests/GetXemSeriesIdsFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/XemCommunicationProviderTests/GetXemSeriesIdsFixture.cs @@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests.XemCommunicationProviderTests { [TestFixture] // ReSharper disable InconsistentNaming - public class GetXemSeriesIdsFixture : CoreTest + public class GetXemSeriesIdsFixture : SqlCeTest { private void WithFailureJson() { diff --git a/NzbDrone.Core.Test/QualityProfileTest.cs b/NzbDrone.Core.Test/QualityProfileTest.cs index 39776532b..156e1b330 100644 --- a/NzbDrone.Core.Test/QualityProfileTest.cs +++ b/NzbDrone.Core.Test/QualityProfileTest.cs @@ -15,7 +15,7 @@ namespace NzbDrone.Core.Test { [TestFixture] // ReSharper disable InconsistentNaming - public class QualityProfileTest : CoreTest + public class QualityProfileTest : SqlCeTest { [SetUp] public void SetUp() diff --git a/NzbDrone.Core.Test/QualityTest.cs b/NzbDrone.Core.Test/QualityTest.cs index 05f2136af..19d7b2fbc 100644 --- a/NzbDrone.Core.Test/QualityTest.cs +++ b/NzbDrone.Core.Test/QualityTest.cs @@ -8,7 +8,7 @@ namespace NzbDrone.Core.Test { [TestFixture] // ReSharper disable InconsistentNaming - public class QualityTest : CoreTest + public class QualityTest : SqlCeTest { [Test] public void Icomparer_greater_test() diff --git a/NzbDrone.Core.Test/QualityTypesTest.cs b/NzbDrone.Core.Test/QualityTypesTest.cs index ce598cc02..ca15e1b71 100644 --- a/NzbDrone.Core.Test/QualityTypesTest.cs +++ b/NzbDrone.Core.Test/QualityTypesTest.cs @@ -11,7 +11,7 @@ namespace NzbDrone.Core.Test { [TestFixture] // ReSharper disable InconsistentNaming - public class QualityTypesTest : CoreTest + public class QualityTypesTest : SqlCeTest { public static object[] FromIntCases = { diff --git a/NzbDrone.Core.Test/Services/ParseErrorServiceFixture.cs b/NzbDrone.Core.Test/Services/ParseErrorServiceFixture.cs index f246852a8..074498697 100644 --- a/NzbDrone.Core.Test/Services/ParseErrorServiceFixture.cs +++ b/NzbDrone.Core.Test/Services/ParseErrorServiceFixture.cs @@ -7,7 +7,7 @@ using NzbDrone.Core.Test.Framework; namespace NzbDrone.Core.Test.Services { [TestFixture] - public class ParseErrorServiceFixture : CoreTest + public class ParseErrorServiceFixture : SqlCeTest { public ParseErrorServiceFixture() diff --git a/NzbDrone.Core.Test/dbBenchmark.cs b/NzbDrone.Core.Test/dbBenchmark.cs index e3da5cf16..4113a1bd0 100644 --- a/NzbDrone.Core.Test/dbBenchmark.cs +++ b/NzbDrone.Core.Test/dbBenchmark.cs @@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test [Explicit] [Category("Benchmark")] // ReSharper disable InconsistentNaming - public class DbBenchmark : CoreTest + public class DbBenchmark : SqlCeTest { const int Episodes_Per_Season = 20; private readonly List seasonsNumbers = new List { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };