* Stylecop Rules and Fixes
This commit is contained in:
Qstick
2020-01-03 07:49:24 -05:00
committed by GitHub
parent 63d669178d
commit f77a2feeef
1307 changed files with 8704 additions and 7404 deletions
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using FizzWare.NBuilder;
using FluentAssertions;
using Moq;
using NUnit.Framework;
@@ -7,7 +8,6 @@ using NzbDrone.Common.Disk;
using NzbDrone.Core.RemotePathMappings;
using NzbDrone.Core.Test.Framework;
using NzbDrone.Test.Common;
using FizzWare.NBuilder;
namespace NzbDrone.Core.Test.RemotePathMappingsTests
{
@@ -72,7 +72,7 @@ namespace NzbDrone.Core.Test.RemotePathMappingsTests
Subject.Remove(1);
Mocker.GetMock<IRemotePathMappingRepository>().Verify(c => c.Delete(1), Times.Once());
}
[TestCase("my-server.localdomain", "/mnt/storage", @"D:\mountedstorage")]
[TestCase("my-server.localdomain", "/mnt/storage", @"D:\mountedstorage2")]
public void adding_duplicated_mapping_should_throw(string host, string remotePath, string localPath)
@@ -128,7 +128,7 @@ namespace NzbDrone.Core.Test.RemotePathMappingsTests
{
Host = "my-server.localdomain",
RemotePath = remotePath,
LocalPath = @"D:\mountedstorage\downloads\tv" .AsOsAgnostic()
LocalPath = @"D:\mountedstorage\downloads\tv".AsOsAgnostic()
};
var result = Subject.Add(mapping);
@@ -136,4 +136,4 @@ namespace NzbDrone.Core.Test.RemotePathMappingsTests
result.RemotePath.Should().Be(cleanedPath);
}
}
}
}