mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Removed assembly level fixtures
This commit is contained in:
parent
72d0fc50ed
commit
207550176c
22 changed files with 43 additions and 51 deletions
|
@ -4,11 +4,12 @@ using System.IO;
|
|||
using System.Linq;
|
||||
using FluentAssertions;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Test.Common;
|
||||
|
||||
namespace NzbDrone.Common.Test
|
||||
{
|
||||
[TestFixture]
|
||||
public class DiskProviderTests
|
||||
public class DiskProviderTests : TestBase
|
||||
{
|
||||
DirectoryInfo BinFolder;
|
||||
DirectoryInfo BinFolderCopy;
|
||||
|
|
|
@ -4,11 +4,12 @@ using System;
|
|||
using System.IO;
|
||||
using FluentAssertions;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Test.Common;
|
||||
|
||||
namespace NzbDrone.Common.Test
|
||||
{
|
||||
[TestFixture]
|
||||
public class EnviromentProviderTest
|
||||
public class EnviromentProviderTest : TestBase
|
||||
{
|
||||
readonly EnviromentProvider enviromentProvider = new EnviromentProvider();
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
// ReSharper disable CheckNamespace
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Test.Common;
|
||||
|
||||
[SetUpFixture]
|
||||
public class Fixtures : LoggingTest
|
||||
{
|
||||
}
|
|
@ -65,7 +65,6 @@
|
|||
<Compile Include="PathExtentionFixture.cs" />
|
||||
<Compile Include="DiskProviderTests.cs" />
|
||||
<Compile Include="EnviromentProviderTest.cs" />
|
||||
<Compile Include="Fixtures.cs" />
|
||||
<Compile Include="ProcessProviderTests.cs" />
|
||||
<Compile Include="ServiceControllerTests.cs" />
|
||||
<Compile Include="WebClientTests.cs" />
|
||||
|
|
|
@ -2,11 +2,12 @@
|
|||
using Moq;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Test.Common;
|
||||
|
||||
namespace NzbDrone.App.Test
|
||||
{
|
||||
[TestFixture]
|
||||
public class PathExtentionFixture
|
||||
public class PathExtentionFixture : TestBase
|
||||
{
|
||||
|
||||
private EnviromentProvider GetEnviromentProvider()
|
||||
|
|
|
@ -3,11 +3,12 @@ using System.Diagnostics;
|
|||
using System.Linq;
|
||||
using FluentAssertions;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Test.Common;
|
||||
|
||||
namespace NzbDrone.Common.Test
|
||||
{
|
||||
[TestFixture]
|
||||
public class ProcessProviderTests
|
||||
public class ProcessProviderTests : TestBase
|
||||
{
|
||||
private const string DummyProccessName = "NzbDrone.Test.Dummy";
|
||||
ProcessProvider _processProvider;
|
||||
|
|
|
@ -3,11 +3,12 @@
|
|||
using System.ServiceProcess;
|
||||
using FluentAssertions;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Test.Common;
|
||||
|
||||
namespace NzbDrone.Common.Test
|
||||
{
|
||||
[TestFixture]
|
||||
public class ServiceControllerTests
|
||||
public class ServiceControllerTests:TestBase
|
||||
{
|
||||
private const string ALWAYS_INSTALLED_SERVICE = "SCardSvr"; //Smart Card
|
||||
private const string TEMP_SERVICE_NAME = "NzbDrone_Nunit"; //Smart Card
|
||||
|
@ -74,7 +75,7 @@ namespace NzbDrone.Common.Test
|
|||
}
|
||||
|
||||
[Test]
|
||||
[Timeout(10000)]
|
||||
//[Timeout(10000)]
|
||||
public void Should_be_able_to_start_and_stop_service()
|
||||
{
|
||||
serviceProvider.GetService(ALWAYS_INSTALLED_SERVICE).Status
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
// ReSharper disable InconsistentNaming
|
||||
using FluentAssertions;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Test.Common;
|
||||
|
||||
namespace NzbDrone.Common.Test
|
||||
{
|
||||
[TestFixture]
|
||||
public class WebClientTests
|
||||
public class WebClientTests : TestBase
|
||||
{
|
||||
[Test]
|
||||
public void DownloadString_should_be_able_to_download_jquery()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue