1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-26 17:57:43 +00:00

fixed broken build

This commit is contained in:
Keivan Beigi 2013-07-05 13:18:52 -07:00
parent c1a75604fd
commit cbb1e17c4e

View file

@ -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()
{ {