fixed broken tests

This commit is contained in:
kay.one 2013-05-06 22:38:40 -07:00
commit c59fe4e674
7 changed files with 40 additions and 40 deletions

View file

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using NLog;
@ -111,9 +112,14 @@ namespace NzbDrone.Common
};
}
public void KillAll(string nzbdrone)
public virtual void KillAll(string processName)
{
throw new System.NotImplementedException();
var processToKill = GetProcessByName(processName);
foreach (var processInfo in processToKill)
{
Kill(processInfo.Id);
}
}
}
}