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

33 lines
632 B
C#
Raw Normal View History

2010-09-30 08:59:00 +02: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 21:01:43 +02:00
[SetUp]
public void Setup()
{
2010-10-05 08:21:18 +02:00
CentralDispatch.ConfigureNlog();
2010-10-02 21:01:43 +02:00
}
2010-09-30 08:59:00 +02:00
}
}