mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Removed assembly level fixtures
This commit is contained in:
parent
72d0fc50ed
commit
207550176c
22 changed files with 43 additions and 51 deletions
|
@ -1,8 +0,0 @@
|
|||
// ReSharper disable CheckNamespace
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Test.Common;
|
||||
|
||||
[SetUpFixture]
|
||||
public class Fixtures : LoggingTest
|
||||
{
|
||||
}
|
|
@ -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" />
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue