Notifications can be tested

Notification ImplementationType was added for showing in UI (Humanized/Title cased of Implementation)
This commit is contained in:
Mark McDowall 2013-06-12 23:41:26 -07:00
commit 8cac7ed1cd
34 changed files with 418 additions and 328 deletions

View file

@ -7,9 +7,9 @@ namespace NzbDrone.Core.Notifications.Growl
{
public class Growl : NotificationBase<GrowlSettings>
{
private readonly GrowlProvider _growlProvider;
private readonly IGrowlService _growlProvider;
public Growl(GrowlProvider growlProvider)
public Growl(IGrowlService growlProvider)
{
_growlProvider = growlProvider;
}
@ -19,6 +19,11 @@ namespace NzbDrone.Core.Notifications.Growl
get { return "Growl"; }
}
public override string ImplementationName
{
get { return "Growl"; }
}
public override void OnGrab(string message)
{
const string title = "Episode Grabbed";