2011-06-17 19:00:44 -07:00
|
|
|
using NUnit.Framework;
|
2011-07-10 21:53:34 -07:00
|
|
|
using NzbDrone.Core.Providers.Jobs;
|
2011-05-18 20:55:35 -07:00
|
|
|
|
|
|
|
namespace NzbDrone.Core.Test.Framework
|
|
|
|
{
|
|
|
|
public class TestBase
|
2011-05-22 09:53:21 -07:00
|
|
|
// ReSharper disable InconsistentNaming
|
2011-05-18 20:55:35 -07:00
|
|
|
{
|
|
|
|
|
|
|
|
[SetUp]
|
|
|
|
public void Setup()
|
|
|
|
{
|
|
|
|
ExceptionVerification.Reset();
|
2011-07-07 22:41:08 -07:00
|
|
|
|
|
|
|
|
2011-05-18 20:55:35 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
[TearDown]
|
|
|
|
public void TearDown()
|
|
|
|
{
|
2011-07-10 21:53:34 -07:00
|
|
|
JobProvider.Queue.Clear();
|
2011-06-02 14:06:46 -07:00
|
|
|
ExceptionVerification.AssertNoUnexcpectedLogs();
|
2011-05-18 20:55:35 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|