Sonarr/NzbDrone.Core.Test/Fixtures.cs

33 lines
632 B
C#
Raw Normal View History

2010-09-30 06:59:00 +00:00
using System;
using System.IO;
using MbUnit.Framework;
namespace NzbDrone.Core.Test
{
[AssemblyFixture]
public class Fixtures
{
[TearDown]
public void TearDown()
{
var dbFiles = Directory.GetFiles(Directory.GetCurrentDirectory(), "*.testdb");
foreach (var dbFile in dbFiles)
{
try
{
File.Delete(dbFile);
}
catch
{ }
}
}
2010-10-02 19:01:43 +00:00
[SetUp]
public void Setup()
{
2010-10-05 06:21:18 +00:00
CentralDispatch.ConfigureNlog();
2010-10-02 19:01:43 +00:00
}
2010-09-30 06:59:00 +00:00
}
}