1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

moved all of the tests that didn't need to be SQL test to basic core test.

This commit is contained in:
kay.one 2013-02-16 21:44:06 -08:00
parent efa44219cf
commit cb0c3b85de
77 changed files with 306 additions and 76 deletions

View File

@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test
[TestFixture]
[ExclusivelyUses("REAL_LOG_FILE")]
[Serial]
class CentralDispatchFixture : SqlCeTest
class CentralDispatchFixture : CoreTest
{
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();

View File

@ -10,7 +10,7 @@ namespace NzbDrone.Core.Test
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class EpisodeParseResultTest : SqlCeTest
public class EpisodeParseResultTest : CoreTest
{
[Test]
public void tostring_single_season_episode()

View File

@ -10,7 +10,7 @@ namespace NzbDrone.Core.Test
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class EpisodeStatusTest : SqlCeTest
public class EpisodeStatusTest : CoreTest
{
[TestCase(1, false, false, EpisodeStatusType.NotAired)]
[TestCase(-2, false, false, EpisodeStatusType.Missing)]

View File

@ -9,7 +9,7 @@ namespace NzbDrone.Core.Test
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class FluentTest : SqlCeTest
public class FluentTest : CoreTest
{
[TestCase(null, "def", "def")]
[TestCase("", "def", "def")]

View File

@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.HelperTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class SortHelperTest : SqlCeTest
public class SortHelperTest : CoreTest
{
[TestCase("The Office (US)", "Office (US)")]
[TestCase("A Man in Anger", "Man in Anger")]

View File

@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.HelperTests.XElementHelperTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class ParseDayOfWeekFixture : SqlCeTest
public class ParseDayOfWeekFixture : CoreTest
{
[Test]
public void should_return_null_if_xelement_is_null()

View File

@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.HelperTests.XElementHelperTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class XElementHelperTest : SqlCeTest
public class XElementHelperTest : CoreTest
{
[Test]
public void Int32_should_return_zero_when_xelement_is_null()

View File

@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.IndexerTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class IndexerFixture : SqlCeTest
public class IndexerFixture : CoreTest
{
private void WithConfiguredIndexers()
{

View File

@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.IndexerTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class NzbxFixture : SqlCeTest
public class NzbxFixture : CoreTest
{
[Test]
public void should_get_size_when_parsing_recent_feed()

View File

@ -17,7 +17,7 @@
namespace NzbDrone.Core.Test.JobTests
{
[TestFixture]
internal class AppUpdateJobFixture : SqlCeTest
internal class AppUpdateJobFixture : CoreTest
{
private const string SANDBOX_FOLDER = @"C:\Temp\nzbdrone_update\";

View File

@ -18,7 +18,7 @@
namespace NzbDrone.Core.Test.JobTests
{
[TestFixture]
public class BacklogSearchJobTest : SqlCeTest
public class BacklogSearchJobTest : CoreTest
{
private void WithEnableBacklogSearching()
{

View File

@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.JobTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class BannerDownloadJobTest : SqlCeTest
public class BannerDownloadJobTest : CoreTest
{
private ProgressNotification _notification;

View File

@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.JobTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class DiskScanJobTest : SqlCeTest
public class DiskScanJobTest : CoreTest
{
[Test]
public void series_specific_scan_should_scan_series()

View File

@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.JobTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class ImportNewSeriesJobTest : SqlCeTest
public class ImportNewSeriesJobTest : CoreTest
{
[Test]
public void import_new_series_succesful()

View File

@ -17,7 +17,7 @@
namespace NzbDrone.Core.Test.JobTests
{
[TestFixture]
internal class PostDownloadScanJobFixture : SqlCeTest
internal class PostDownloadScanJobFixture : CoreTest
{
[SetUp]
public void Setup()

View File

@ -19,7 +19,7 @@
namespace NzbDrone.Core.Test.JobTests
{
[TestFixture]
public class RecentBacklogSearchJobTest : SqlCeTest
public class RecentBacklogSearchJobTest : CoreTest
{
private void WithEnableBacklogSearching()
{

View File

@ -14,7 +14,7 @@ namespace NzbDrone.Core.Test.JobTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class RssSyncJobTest : SqlCeTest
public class RssSyncJobTest : CoreTest
{
public void WithMinutes(int minutes)
{

View File

@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.JobTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class SeasonSearchJobTest : SqlCeTest
public class SeasonSearchJobTest : CoreTest
{
private IList<Episode> _episodes;

View File

@ -13,7 +13,7 @@ namespace NzbDrone.Core.Test.JobTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class SeriesSearchJobTest : SqlCeTest
public class SeriesSearchJobTest : CoreTest
{
[Test]
public void SeriesSearch_success()

View File

@ -14,7 +14,7 @@ namespace NzbDrone.Core.Test.ParserTests
{
// ReSharper disable InconsistentNaming
[TestFixture]
public class ParserFixture : SqlCeTest
public class ParserFixture : CoreTest
{
/*Fucked-up hall of shame,
* WWE.Wrestlemania.27.PPV.HDTV.XviD-KYR

View File

@ -11,7 +11,7 @@ namespace NzbDrone.Core.Test.ParserTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class QualityParserFixture : SqlCeTest
public class QualityParserFixture : CoreTest
{
public static object[] QualityParserCases =
{

View File

@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class BannerProviderTest : SqlCeTest
public class BannerProviderTest : CoreTest
{
private Series _series;

View File

@ -11,7 +11,7 @@
namespace NzbDrone.Core.Test.ProviderTests.ConfigProviderTests
{
[TestFixture]
public class ConfigCachingFixture : SqlCeTest
public class ConfigCachingFixture : CoreTest
{
[SetUp]
public void Setup()

View File

@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class AcceptableSizeSpecificationFixture : SqlCeTest
public class AcceptableSizeSpecificationFixture : CoreTest
{
private EpisodeParseResult parseResultMulti;
private EpisodeParseResult parseResultSingle;

View File

@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class AllowedDownloadSpecificationFixture : SqlCeTest
public class AllowedDownloadSpecificationFixture : CoreTest
{
private AllowedDownloadSpecification spec;
private EpisodeParseResult parseResult;

View File

@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class AllowedReleaseGroupSpecificationFixture : SqlCeTest
public class AllowedReleaseGroupSpecificationFixture : CoreTest
{
private EpisodeParseResult parseResult;

View File

@ -17,7 +17,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class CustomStartDateSpecificationFixture : SqlCeTest
public class CustomStartDateSpecificationFixture : CoreTest
{
private CustomStartDateSpecification _customStartDateSpecification;

View File

@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class LanguageSpecificationFixture : SqlCeTest
public class LanguageSpecificationFixture : CoreTest
{
private EpisodeParseResult parseResult;

View File

@ -17,7 +17,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class MonitoredEpisodeSpecificationFixture : SqlCeTest
public class MonitoredEpisodeSpecificationFixture : CoreTest
{
private MonitoredEpisodeSpecification monitoredEpisodeSpecification;

View File

@ -15,7 +15,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class QualityAllowedByProfileSpecificationFixture : SqlCeTest
public class QualityAllowedByProfileSpecificationFixture : CoreTest
{
private QualityAllowedByProfileSpecification _qualityAllowedByProfile;
private EpisodeParseResult parseResult;

View File

@ -12,7 +12,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class QualityUpgradeSpecificationFixture : SqlCeTest
public class QualityUpgradeSpecificationFixture : CoreTest
{
public static object[] IsUpgradeTestCases =
{

View File

@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class RetentionSpecificationFixture : SqlCeTest
public class RetentionSpecificationFixture : CoreTest
{
private RetentionSpecification retentionSpecification;

View File

@ -17,7 +17,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class UpgradeDiskSpecificationFixture : SqlCeTest
public class UpgradeDiskSpecificationFixture : CoreTest
{
private UpgradeDiskSpecification _upgradeDisk;

View File

@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class UpgradeHistorySpecificationFixture : SqlCeTest
public class UpgradeHistorySpecificationFixture : CoreTest
{
private UpgradeHistorySpecification _upgradeHistory;

View File

@ -15,7 +15,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DecisionEngineTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class UpgradePossibleSpecificationFixture : SqlCeTest
public class UpgradePossibleSpecificationFixture : CoreTest
{
private void WithWebdlCutoff()
{

View File

@ -7,7 +7,7 @@
namespace NzbDrone.Core.Test.ProviderTests.DiskProviderTests
{
[TestFixture]
public class ExtractArchiveFixture : SqlCeTest
public class ExtractArchiveFixture : CoreTest
{
[Test]
public void Should_extract_to_correct_folder()

View File

@ -20,7 +20,7 @@
namespace NzbDrone.Core.Test.ProviderTests.DiskScanProviderTests
{
// ReSharper disable InconsistentNaming
public class CleanUpDropFolderFixture : SqlCeTest
public class CleanUpDropFolderFixture : CoreTest
{
[Test]
public void should_do_nothing_if_no_files_are_found()

View File

@ -20,7 +20,7 @@
namespace NzbDrone.Core.Test.ProviderTests.DiskScanProviderTests
{
// ReSharper disable InconsistentNaming
public class CleanUpFixture : SqlCeTest
public class CleanUpFixture : CoreTest
{
[Test]
public void should_skip_existing_files()

View File

@ -20,7 +20,7 @@
namespace NzbDrone.Core.Test.ProviderTests.DiskScanProviderTests
{
// ReSharper disable InconsistentNaming
public class GetVideoFilesFixture : SqlCeTest
public class GetVideoFilesFixture : CoreTest
{
private string[] _files;

View File

@ -18,7 +18,7 @@
namespace NzbDrone.Core.Test.ProviderTests.DiskScanProviderTests
{
// ReSharper disable InconsistentNaming
public class ImportFileFixture : SqlCeTest
public class ImportFileFixture : CoreTest
{
public static object[] ImportTestCases =
{

View File

@ -20,7 +20,7 @@
namespace NzbDrone.Core.Test.ProviderTests.DiskScanProviderTests
{
// ReSharper disable InconsistentNaming
public class MoveEpisodeFileFixture : SqlCeTest
public class MoveEpisodeFileFixture : CoreTest
{
[Test]
public void should_not_move_file_if_source_and_destination_are_the_same_path()

View File

@ -20,7 +20,7 @@
namespace NzbDrone.Core.Test.ProviderTests.DiskScanProviderTests
{
// ReSharper disable InconsistentNaming
public class ScanFixture : SqlCeTest
public class ScanFixture : CoreTest
{
[Test]
public void series_should_update_the_last_scan_date()

View File

@ -16,7 +16,7 @@
namespace NzbDrone.Core.Test.ProviderTests.DownloadClientTests
{
[TestFixture]
public class BlackholeProviderFixture : SqlCeTest
public class BlackholeProviderFixture : CoreTest
{
private const string nzbUrl = "http://www.nzbs.com/url";
private const string title = "some_nzb_title";

View File

@ -16,7 +16,7 @@
namespace NzbDrone.Core.Test.ProviderTests.DownloadClientTests
{
[TestFixture]
public class PneumaticProviderFixture : SqlCeTest
public class PneumaticProviderFixture : CoreTest
{
private const string nzbUrl = "http://www.nzbs.com/url";
private const string title = "30.Rock.S01E05.hdtv.xvid-LoL";

View File

@ -21,7 +21,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DownloadClientTests.SabProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class QueueFixture : SqlCeTest
public class QueueFixture : CoreTest
{
[SetUp]
public void Setup()

View File

@ -23,7 +23,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DownloadClientTests.SabProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class SabProviderFixture : SqlCeTest
public class SabProviderFixture : CoreTest
{
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]";

View File

@ -13,7 +13,7 @@
namespace NzbDrone.Core.Test.ProviderTests.DownloadProviderTests
{
[TestFixture]
public class ContainsRecentEpisode : SqlCeTest
public class ContainsRecentEpisode : CoreTest
{
private Episode _recentEpisode;
private Episode _oldEpisode;

View File

@ -18,7 +18,7 @@
namespace NzbDrone.Core.Test.ProviderTests.DownloadProviderTests
{
[TestFixture]
public class DownloadProviderFixture : SqlCeTest
public class DownloadProviderFixture : CoreTest
{
public static object[] SabNamingCases =
{

View File

@ -13,7 +13,7 @@ namespace NzbDrone.Core.Test.ProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class EventClientProviderTest : SqlCeTest
public class EventClientProviderTest : CoreTest
{
[Test]
public void SendNotification_true()

View File

@ -17,7 +17,7 @@ namespace NzbDrone.Core.Test.ProviderTests
{
[Explicit]
[TestFixture]
public class GrowlProviderTest : SqlCeTest
public class GrowlProviderTest : CoreTest
{
[Test]
public void Register_should_add_new_application_to_local_growl_instance()

View File

@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.MediaFileProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class MediaFileProvider_GetNewFilenameTest : SqlCeTest
public class MediaFileProvider_GetNewFilenameTest : CoreTest
{
private Series _series;

View File

@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.ProviderTests.Metadata
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class Xbmc_ForEpisoddeFile_Fixture : SqlCeTest
public class Xbmc_ForEpisoddeFile_Fixture : CoreTest
{
private Series series;
private EpisodeFile episodeFile;

View File

@ -23,7 +23,7 @@ namespace NzbDrone.Core.Test.ProviderTests.Metadata
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class Xbmc_ForSeries_Fixture : SqlCeTest
public class Xbmc_ForSeries_Fixture : CoreTest
{
private Series series;
private TvdbSeries tvdbSeries;

View File

@ -13,7 +13,7 @@
namespace NzbDrone.Core.Test.ProviderTests
{
[TestFixture]
public class MisnamedProviderTest : SqlCeTest
public class MisnamedProviderTest : CoreTest
{
[Test]
public void no_misnamed_files()

View File

@ -22,7 +22,7 @@ namespace NzbDrone.Core.Test.ProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class PlexProviderTest : SqlCeTest
public class PlexProviderTest : CoreTest
{
private void WithSingleClient()
{

View File

@ -13,7 +13,7 @@ namespace NzbDrone.Core.Test.ProviderTests.PostDownloadProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class GetFolderNameWithStatusFixture : SqlCeTest
public class GetFolderNameWithStatusFixture : CoreTest
{
[TestCase(@"c:\_NzbDrone_InvalidEpisode_Title", @"c:\_UnknownSeries_Title", PostDownloadStatusType.UnknownSeries)]
[TestCase(@"c:\Title", @"c:\_Failed_Title", PostDownloadStatusType.Failed)]

View File

@ -18,7 +18,7 @@
namespace NzbDrone.Core.Test.ProviderTests.PostDownloadProviderTests
{
[TestFixture]
public class ProcessDownloadFixture : SqlCeTest
public class ProcessDownloadFixture : CoreTest
{
Series fakeSeries;

View File

@ -18,7 +18,7 @@
namespace NzbDrone.Core.Test.ProviderTests.PostDownloadProviderTests
{
[TestFixture]
public class ProcessDropDirectoryFixture : SqlCeTest
public class ProcessDropDirectoryFixture : CoreTest
{
Series fakeSeries;

View File

@ -18,7 +18,7 @@
namespace NzbDrone.Core.Test.ProviderTests.PostDownloadProviderTests
{
[TestFixture]
public class ProcessVideoFileFixture : SqlCeTest
public class ProcessVideoFileFixture : CoreTest
{
Series fakeSeries;

View File

@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests
{
[Explicit]
[TestFixture]
public class ProwlProviderTest : SqlCeTest
public class ProwlProviderTest : CoreTest
{
private const string _apiKey = "c3bdc0f48168f72d546cc6872925b160f5cbffc1";
private const string _apiKey2 = "46a710a46b111b0b8633819b0d8a1e0272a3affa";

View File

@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.ProviderTests.RecycleBinProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class CleanupFixture : SqlCeTest
public class CleanupFixture : CoreTest
{
private const string RecycleBin = @"C:\Test\RecycleBin";

View File

@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.ProviderTests.RecycleBinProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class DeleteDirectoryFixture : SqlCeTest
public class DeleteDirectoryFixture : CoreTest
{
private void WithRecycleBin()
{

View File

@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.ProviderTests.RecycleBinProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class DeleteFileFixture : SqlCeTest
public class DeleteFileFixture : CoreTest
{
private void WithRecycleBin()
{

View File

@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.ProviderTests.RecycleBinProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class EmptyFixture : SqlCeTest
public class EmptyFixture : CoreTest
{
private const string RecycleBin = @"C:\Test\RecycleBin";

View File

@ -17,7 +17,7 @@ namespace NzbDrone.Core.Test.ProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class TvDbProviderTest : SqlCeTest
public class TvDbProviderTest : CoreTest
{
private TvDbProvider tvDbProvider;

View File

@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.TvRageProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class GetSeriesFixture : SqlCeTest
public class GetSeriesFixture : CoreTest
{
private const string showinfo = "http://services.tvrage.com/feeds/showinfo.php?key=NW4v0PSmQIoVmpbASLdD&sid=";

View File

@ -16,7 +16,7 @@ namespace NzbDrone.Core.Test.ProviderTests.TvRageProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class GetUtcOffsetFixture : SqlCeTest
public class GetUtcOffsetFixture : CoreTest
{
[Test]
public void should_return_zero_if_timeZone_is_empty()

View File

@ -18,7 +18,7 @@ namespace NzbDrone.Core.Test.ProviderTests.TvRageProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class SearchSeriesFixture : SqlCeTest
public class SearchSeriesFixture : CoreTest
{
private const string search = "http://services.tvrage.com/feeds/full_search.php?show=";

View File

@ -11,7 +11,7 @@
namespace NzbDrone.Core.Test.ProviderTests.UpdateProviderTests
{
class GetAvilableUpdateFixture : SqlCeTest
class GetAvilableUpdateFixture : CoreTest
{
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";

View File

@ -9,7 +9,7 @@
namespace NzbDrone.Core.Test.ProviderTests.UpdateProviderTests
{
class GetUpdateLogFixture : SqlCeTest
class GetUpdateLogFixture : CoreTest
{
String UpdateLogFolder;

View File

@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class XbmcProviderTest : SqlCeTest
public class XbmcProviderTest : CoreTest
{
private string EdenActivePlayers;

View File

@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests.XemCommunicationProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class GetSceneTvdbMappingsFixture : SqlCeTest
public class GetSceneTvdbMappingsFixture : CoreTest
{
private void WithFailureJson()
{

View File

@ -19,7 +19,7 @@ namespace NzbDrone.Core.Test.ProviderTests.XemCommunicationProviderTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class GetXemSeriesIdsFixture : SqlCeTest
public class GetXemSeriesIdsFixture : CoreTest
{
private void WithFailureJson()
{

View File

@ -8,7 +8,7 @@ namespace NzbDrone.Core.Test
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class QualityTest : SqlCeTest
public class QualityTest : CoreTest
{
[Test]
public void Icomparer_greater_test()

View File

@ -11,7 +11,7 @@ namespace NzbDrone.Core.Test
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class QualityTypesTest : SqlCeTest
public class QualityTypesTest : CoreTest
{
public static object[] FromIntCases =
{

View File

@ -7,7 +7,7 @@
namespace NzbDrone.Core.Test.Services
{
[TestFixture]
public class ParseErrorServiceFixture : SqlCeTest
public class ParseErrorServiceFixture : CoreTest
{
public ParseErrorServiceFixture()

View File

@ -0,0 +1,230 @@
<?xml version="1.0" encoding="utf-8"?>
<TestRecord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Tests>
<TestRecord Name="NzbDrone">
<Tests>
<TestRecord Name="Core">
<Tests>
<TestRecord Name="Test">
<Tests>
<TestRecord Name="ProviderTests">
<Tests>
<TestRecord Name="ReferenceDataProviderTest">
<Results>
<UnitTestResult>
<TestDate>2013-02-16T21:37:42</TestDate>
<Passed>0</Passed>
<Errors>0</Errors>
<Failures>0</Failures>
<Inconclusive>0</Inconclusive>
<NotRunnable>0</NotRunnable>
<Skipped>0</Skipped>
<Ignored>9</Ignored>
<Time />
<Message>Test successful
Execution time: 0.47ms</Message>
</UnitTestResult>
</Results>
<Tests>
<TestRecord Name="broken_service_should_not_cause_this_call_to_fail">
<Results>
<UnitTestResult>
<TestDate>2013-02-16T21:37:42</TestDate>
<Passed>0</Passed>
<Errors>0</Errors>
<Failures>0</Failures>
<Inconclusive>0</Inconclusive>
<NotRunnable>0</NotRunnable>
<Skipped>0</Skipped>
<Ignored>1</Ignored>
<Time />
<Message>SetUp : SqlCe is not supported in mono.</Message>
<StackTrace> at NzbDrone.Core.Test.Framework.SqlCeTest.CoreTestSetup () [0x00000] in &lt;filename unknown&gt;:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&amp;)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.10.9\mcs\class\corlib\System.Reflection\MonoMethod.cs:226 </StackTrace>
<ConsoleOutput />
<ConsoleError />
</UnitTestResult>
</Results>
</TestRecord>
<TestRecord Name="GetDailySeriesIds_should_return_empty_list_of_int_when_server_is_unavailable">
<Results>
<UnitTestResult>
<TestDate>2013-02-16T21:37:42</TestDate>
<Passed>0</Passed>
<Errors>0</Errors>
<Failures>0</Failures>
<Inconclusive>0</Inconclusive>
<NotRunnable>0</NotRunnable>
<Skipped>0</Skipped>
<Ignored>1</Ignored>
<Time />
<Message>SetUp : SqlCe is not supported in mono.</Message>
<StackTrace> at NzbDrone.Core.Test.Framework.SqlCeTest.CoreTestSetup () [0x00000] in &lt;filename unknown&gt;:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&amp;)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.10.9\mcs\class\corlib\System.Reflection\MonoMethod.cs:226 </StackTrace>
<ConsoleOutput />
<ConsoleError />
</UnitTestResult>
</Results>
</TestRecord>
<TestRecord Name="GetDailySeriesIds_should_return_empty_list_when_unable_to_parse">
<Results>
<UnitTestResult>
<TestDate>2013-02-16T21:37:42</TestDate>
<Passed>0</Passed>
<Errors>0</Errors>
<Failures>0</Failures>
<Inconclusive>0</Inconclusive>
<NotRunnable>0</NotRunnable>
<Skipped>0</Skipped>
<Ignored>1</Ignored>
<Time />
<Message>SetUp : SqlCe is not supported in mono.</Message>
<StackTrace> at NzbDrone.Core.Test.Framework.SqlCeTest.CoreTestSetup () [0x00000] in &lt;filename unknown&gt;:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&amp;)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.10.9\mcs\class\corlib\System.Reflection\MonoMethod.cs:226 </StackTrace>
<ConsoleOutput />
<ConsoleError />
</UnitTestResult>
</Results>
</TestRecord>
<TestRecord Name="GetDailySeriesIds_should_return_list_of_int_when_all_are_valid">
<Results>
<UnitTestResult>
<TestDate>2013-02-16T21:37:42</TestDate>
<Passed>0</Passed>
<Errors>0</Errors>
<Failures>0</Failures>
<Inconclusive>0</Inconclusive>
<NotRunnable>0</NotRunnable>
<Skipped>0</Skipped>
<Ignored>1</Ignored>
<Time />
<Message>SetUp : SqlCe is not supported in mono.</Message>
<StackTrace> at NzbDrone.Core.Test.Framework.SqlCeTest.CoreTestSetup () [0x00000] in &lt;filename unknown&gt;:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&amp;)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.10.9\mcs\class\corlib\System.Reflection\MonoMethod.cs:226 </StackTrace>
<ConsoleOutput />
<ConsoleError />
</UnitTestResult>
</Results>
</TestRecord>
<TestRecord Name="IsDailySeries_should_return_false">
<Results>
<UnitTestResult>
<TestDate>2013-02-16T21:37:42</TestDate>
<Passed>0</Passed>
<Errors>0</Errors>
<Failures>0</Failures>
<Inconclusive>0</Inconclusive>
<NotRunnable>0</NotRunnable>
<Skipped>0</Skipped>
<Ignored>1</Ignored>
<Time />
<Message>SetUp : SqlCe is not supported in mono.</Message>
<StackTrace> at NzbDrone.Core.Test.Framework.SqlCeTest.CoreTestSetup () [0x00000] in &lt;filename unknown&gt;:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&amp;)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.10.9\mcs\class\corlib\System.Reflection\MonoMethod.cs:226 </StackTrace>
<ConsoleOutput />
<ConsoleError />
</UnitTestResult>
</Results>
</TestRecord>
<TestRecord Name="IsDailySeries_should_return_true">
<Results>
<UnitTestResult>
<TestDate>2013-02-16T21:37:42</TestDate>
<Passed>0</Passed>
<Errors>0</Errors>
<Failures>0</Failures>
<Inconclusive>0</Inconclusive>
<NotRunnable>0</NotRunnable>
<Skipped>0</Skipped>
<Ignored>1</Ignored>
<Time />
<Message>SetUp : SqlCe is not supported in mono.</Message>
<StackTrace> at NzbDrone.Core.Test.Framework.SqlCeTest.CoreTestSetup () [0x00000] in &lt;filename unknown&gt;:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&amp;)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.10.9\mcs\class\corlib\System.Reflection\MonoMethod.cs:226 </StackTrace>
<ConsoleOutput />
<ConsoleError />
</UnitTestResult>
</Results>
</TestRecord>
<TestRecord Name="UpdateDailySeries_should_update_series_should_not_overwrite_existing_isDaily">
<Results>
<UnitTestResult>
<TestDate>2013-02-16T21:37:42</TestDate>
<Passed>0</Passed>
<Errors>0</Errors>
<Failures>0</Failures>
<Inconclusive>0</Inconclusive>
<NotRunnable>0</NotRunnable>
<Skipped>0</Skipped>
<Ignored>1</Ignored>
<Time />
<Message>SetUp : SqlCe is not supported in mono.</Message>
<StackTrace> at NzbDrone.Core.Test.Framework.SqlCeTest.CoreTestSetup () [0x00000] in &lt;filename unknown&gt;:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&amp;)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.10.9\mcs\class\corlib\System.Reflection\MonoMethod.cs:226 </StackTrace>
<ConsoleOutput />
<ConsoleError />
</UnitTestResult>
</Results>
</TestRecord>
<TestRecord Name="UpdateDailySeries_should_update_series_should_skip_series_that_dont_match">
<Results>
<UnitTestResult>
<TestDate>2013-02-16T21:37:42</TestDate>
<Passed>0</Passed>
<Errors>0</Errors>
<Failures>0</Failures>
<Inconclusive>0</Inconclusive>
<NotRunnable>0</NotRunnable>
<Skipped>0</Skipped>
<Ignored>1</Ignored>
<Time />
<Message>SetUp : SqlCe is not supported in mono.</Message>
<StackTrace> at NzbDrone.Core.Test.Framework.SqlCeTest.CoreTestSetup () [0x00000] in &lt;filename unknown&gt;:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&amp;)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.10.9\mcs\class\corlib\System.Reflection\MonoMethod.cs:226 </StackTrace>
<ConsoleOutput />
<ConsoleError />
</UnitTestResult>
</Results>
</TestRecord>
<TestRecord Name="UpdateDailySeries_should_update_series_that_match_daily_series_list">
<Results>
<UnitTestResult>
<TestDate>2013-02-16T21:37:42</TestDate>
<Passed>0</Passed>
<Errors>0</Errors>
<Failures>0</Failures>
<Inconclusive>0</Inconclusive>
<NotRunnable>0</NotRunnable>
<Skipped>0</Skipped>
<Ignored>1</Ignored>
<Time />
<Message>SetUp : SqlCe is not supported in mono.</Message>
<StackTrace> at NzbDrone.Core.Test.Framework.SqlCeTest.CoreTestSetup () [0x00000] in &lt;filename unknown&gt;:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&amp;)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.10.9\mcs\class\corlib\System.Reflection\MonoMethod.cs:226 </StackTrace>
<ConsoleOutput />
<ConsoleError />
</UnitTestResult>
</Results>
</TestRecord>
</Tests>
</TestRecord>
</Tests>
</TestRecord>
</Tests>
</TestRecord>
</Tests>
</TestRecord>
</Tests>
</TestRecord>
</Tests>
</TestRecord>