You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
522 B
27 lines
522 B
14 years ago
|
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
|
||
|
{ }
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|