1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-25 09:18:34 +00:00
Sonarr/NzbDrone.Core.Test/Fixtures.cs

33 lines
623 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-15 07:10:44 +00:00
Instrumentation.Setup();
2010-10-02 19:01:43 +00:00
}
2010-09-30 06:59:00 +00:00
}
}