From 77bb790672b7c79045af43ebcbad2724e1c94cc8 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sat, 19 Jan 2013 13:08:03 -0800 Subject: [PATCH] some cleanup. --- NzbDrone.Core.Test/CentralDispatchFixture.cs | 4 ++-- .../JobProviderTests/JobProviderFixture.cs | 3 ++- NzbDrone.Core/Fluent.cs | 2 -- NzbDrone.Test.Common/TestBase.cs | 6 ------ NzbDrone.Web/Web.config | 20 ------------------- 5 files changed, 4 insertions(+), 31 deletions(-) diff --git a/NzbDrone.Core.Test/CentralDispatchFixture.cs b/NzbDrone.Core.Test/CentralDispatchFixture.cs index 5d90df06a..c6f485bf6 100644 --- a/NzbDrone.Core.Test/CentralDispatchFixture.cs +++ b/NzbDrone.Core.Test/CentralDispatchFixture.cs @@ -1,5 +1,4 @@ -// ReSharper disable InconsistentNaming -using System; +using System; using System.Collections.Generic; using System.Linq; using Autofac; @@ -17,6 +16,7 @@ namespace NzbDrone.Core.Test { [TestFixture] [ExclusivelyUses("REAL_LOG_FILE")] + [Serial] class CentralDispatchFixture : CoreTest { readonly IList indexers = typeof(CentralDispatch).Assembly.GetTypes().Where(t => t.IsSubclassOf(typeof(IndexerBase))).Select(c => c.ToString()).ToList(); diff --git a/NzbDrone.Core.Test/ProviderTests/JobProviderTests/JobProviderFixture.cs b/NzbDrone.Core.Test/ProviderTests/JobProviderTests/JobProviderFixture.cs index d0130a30f..5de2c1b4a 100644 --- a/NzbDrone.Core.Test/ProviderTests/JobProviderTests/JobProviderFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/JobProviderTests/JobProviderFixture.cs @@ -6,6 +6,7 @@ using System.Collections.Generic; using System.Threading; using FizzWare.NBuilder; using FluentAssertions; +using NCrunch.Framework; using NUnit.Framework; using NzbDrone.Core.Jobs; using NzbDrone.Core.Model; @@ -17,7 +18,7 @@ using NzbDrone.Test.Common.AutoMoq; namespace NzbDrone.Core.Test.ProviderTests.JobProviderTests { [TestFixture] - // ReSharper disable InconsistentNaming + [ExclusivelyUses("JOB_PROVIDER")] public class JobProviderFixture : CoreTest { diff --git a/NzbDrone.Core/Fluent.cs b/NzbDrone.Core/Fluent.cs index baa0469f3..07ada240b 100644 --- a/NzbDrone.Core/Fluent.cs +++ b/NzbDrone.Core/Fluent.cs @@ -1,8 +1,6 @@ using System; using System.Collections.Generic; -using System.IO; using System.Linq; -using System.Runtime.InteropServices; using System.Text; namespace NzbDrone.Core diff --git a/NzbDrone.Test.Common/TestBase.cs b/NzbDrone.Test.Common/TestBase.cs index 2e8fcb09d..ff9b64bca 100644 --- a/NzbDrone.Test.Common/TestBase.cs +++ b/NzbDrone.Test.Common/TestBase.cs @@ -55,12 +55,6 @@ namespace NzbDrone.Test.Common ReportingService.RestProvider = MockedRestProvider.Object; ReportingService.SetupExceptronDriver(); - - if (Directory.Exists(TempFolder)) - { - Directory.Delete(TempFolder, true); - } - Directory.CreateDirectory(TempFolder); } diff --git a/NzbDrone.Web/Web.config b/NzbDrone.Web/Web.config index 8d486ad60..8c66df141 100644 --- a/NzbDrone.Web/Web.config +++ b/NzbDrone.Web/Web.config @@ -1,7 +1,6 @@  -
@@ -31,15 +30,7 @@ - - - - - - - - @@ -74,10 +65,6 @@ - - - - @@ -94,11 +81,4 @@ - - - - - - - \ No newline at end of file