1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-21 22:05:38 -04:00

Upgrade to NUnit3

This commit is contained in:
Mark McDowall
2016-04-01 19:19:32 -07:00
parent 2fabe2d198
commit edea488dbe
37 changed files with 151 additions and 85 deletions
@@ -31,10 +31,21 @@ namespace NzbDrone.Common.Test
[TearDown]
public void TearDown()
{
Process.GetProcessesByName(DummyApp.DUMMY_PROCCESS_NAME).ToList().ForEach(c => c.Kill());
Process.GetProcessesByName(DummyApp.DUMMY_PROCCESS_NAME).ToList().ForEach(c =>
{
try
{
c.Kill();
}
catch (Win32Exception ex)
{
TestLogger.Warn(ex, "{0} when killing process", ex.Message);
throw;
}
});
}
[Test]
public void GetById_should_return_null_if_process_doesnt_exist()
{