Lidarr/NzbDrone.Core.Test/Fixtures.cs

27 lines
522 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
{ }
}
}
}
}