Reformat and apply Stylecop rules

This commit is contained in:
ta264
2019-12-22 22:08:53 +00:00
committed by Qstick
parent d4fa9b7345
commit f02fa629cc
1186 changed files with 7105 additions and 5616 deletions
@@ -17,7 +17,6 @@ namespace NzbDrone.Common.Test
[TestFixture]
public class ProcessProviderFixture : TestBase<ProcessProvider>
{
[SetUp]
public void Setup()
{
@@ -43,7 +42,6 @@ namespace NzbDrone.Common.Test
{
TestLogger.Warn(ex, "{0} when killing process", ex.Message);
}
});
}
@@ -85,7 +83,7 @@ namespace NzbDrone.Common.Test
}
[Test]
[Platform(Exclude="MacOsX")]
[Platform(Exclude = "MacOsX")]
[Retry(3)]
public void exists_should_find_running_process()
{
@@ -153,7 +151,7 @@ namespace NzbDrone.Common.Test
[Test]
[Retry(3)]
[Platform(Exclude="MacOsX")]
[Platform(Exclude = "MacOsX")]
public void kill_all_should_kill_all_process_with_name()
{
var dummy1 = StartDummyProcess();
@@ -182,12 +180,13 @@ namespace NzbDrone.Common.Test
}
var path = Path.Combine(TestContext.CurrentContext.TestDirectory, DummyApp.DUMMY_PROCCESS_NAME + suffix);
var process = Subject.Start(path, onOutputDataReceived: (string data) => {
if (data.StartsWith("Dummy process. ID:"))
{
processStarted.Set();
}
});
var process = Subject.Start(path, onOutputDataReceived: (string data) =>
{
if (data.StartsWith("Dummy process. ID:"))
{
processStarted.Set();
}
});
if (!processStarted.Wait(5000))
{