mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 20:44:00 +02:00
fixed broken build
This commit is contained in:
@@ -26,13 +26,6 @@ namespace NzbDrone.Common.Test
|
|||||||
Process.GetProcessesByName(DummyApp.DUMMY_PROCCESS_NAME).ToList().ForEach(c => c.Kill());
|
Process.GetProcessesByName(DummyApp.DUMMY_PROCCESS_NAME).ToList().ForEach(c => c.Kill());
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestCase(0)]
|
|
||||||
[TestCase(123332324)]
|
|
||||||
public void Kill_should_not_fail_on_invalid_process_is(int processId)
|
|
||||||
{
|
|
||||||
Subject.Kill(processId);
|
|
||||||
ExceptionVerification.ExpectedWarns(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void GetById_should_return_null_if_process_doesnt_exist()
|
public void GetById_should_return_null_if_process_doesnt_exist()
|
||||||
@@ -52,14 +45,6 @@ namespace NzbDrone.Common.Test
|
|||||||
ExceptionVerification.ExpectedWarns(1);
|
ExceptionVerification.ExpectedWarns(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void Should_be_able_to_kill_procces()
|
|
||||||
{
|
|
||||||
var dummyProcess = StartDummyProcess();
|
|
||||||
Subject.Kill(dummyProcess.Id);
|
|
||||||
dummyProcess.HasExited.Should().BeTrue();
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void Should_be_able_to_start_process()
|
public void Should_be_able_to_start_process()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user