lots of different things ;)

This commit is contained in:
kay.one 2011-10-23 22:54:09 -07:00
commit 4ae268b8e5
71 changed files with 526 additions and 1229 deletions

View file

@ -1,6 +1,6 @@
using System.IO;
using NUnit.Framework;
using NzbDrone.Core.Providers.Jobs;
using NzbDrone.Test.Common;
namespace NzbDrone.Core.Test.Framework
{
@ -9,17 +9,19 @@ namespace NzbDrone.Core.Test.Framework
{
[SetUp]
public virtual void Setup()
public virtual void SetupBase()
{
ExceptionVerification.Reset();
if (Directory.Exists(TempFolder))
{
Directory.Delete(TempFolder, true);
}
Directory.CreateDirectory(TempFolder);
}
[TearDown]
public void TearDown()
public void TearDownBase()
{
ExceptionVerification.AssertNoUnexcpectedLogs();
}
@ -27,7 +29,7 @@ namespace NzbDrone.Core.Test.Framework
protected string TempFolder
{
get { return Path.Combine(Directory.GetCurrentDirectory(), "_temp"); }
get { return Path.Combine(Directory.GetCurrentDirectory(), "temp"); }
}
protected string GetTestFilePath(string fileName)