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