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