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