mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-25 01:06:30 +00:00
33 lines
No EOL
623 B
C#
33 lines
No EOL
623 B
C#
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
|
|
{ }
|
|
|
|
}
|
|
}
|
|
|
|
[SetUp]
|
|
public void Setup()
|
|
{
|
|
Instrumentation.Setup();
|
|
}
|
|
}
|
|
} |