Removed assembly level fixtures

This commit is contained in:
kay.one 2011-11-13 10:16:31 -08:00
commit 207550176c
22 changed files with 43 additions and 51 deletions

View file

@ -1,8 +0,0 @@
// ReSharper disable CheckNamespace
using NUnit.Framework;
using NzbDrone.Test.Common;
[SetUpFixture]
public class Fixtures : LoggingTest
{
}

View file

@ -48,6 +48,7 @@
<Reference Include="Moq">
<HintPath>..\packages\Moq.4.0.10827\lib\NET40\Moq.dll</HintPath>
</Reference>
<Reference Include="NLog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL" />
<Reference Include="nunit.framework">
<HintPath>..\packages\NUnit.2.5.10.11092\lib\nunit.framework.dll</HintPath>
</Reference>
@ -66,7 +67,6 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Fixtures.cs" />
<Compile Include="UpdateProviderVerifyTest.cs" />
<Compile Include="UpdateProviderStartTest.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />

View file

@ -5,12 +5,13 @@ using Moq;
using NUnit.Framework;
using NzbDrone.Common;
using NzbDrone.Common.Model;
using NzbDrone.Test.Common;
using NzbDrone.Update.Providers;
namespace NzbDrone.Update.Test
{
[TestFixture]
class UpdateProviderStartTest
class UpdateProviderStartTest : TestBase
{
AutoMoqer mocker = new AutoMoqer();
@ -109,6 +110,8 @@ namespace NzbDrone.Update.Test
mocker.Resolve<UpdateProvider>().Start(TARGET_FOLDER);
ExceptionVerification.ExcpectedFatals(1);
mocker.VerifyAllMocks();
}

View file

@ -6,12 +6,13 @@ using FluentAssertions;
using Moq;
using NUnit.Framework;
using NzbDrone.Common;
using NzbDrone.Test.Common;
using NzbDrone.Update.Providers;
namespace NzbDrone.Update.Test
{
[TestFixture]
class UpdateProviderVerifyTest
class UpdateProviderVerifyTest : TestBase
{
AutoMoqer mocker = new AutoMoqer();