Windows service seems to be fully working.

This commit is contained in:
Keivan Beigi
2011-10-14 17:41:09 -07:00
parent 6f3065d5ab
commit e90a3ae9de
9 changed files with 83 additions and 64 deletions

View File

@@ -40,7 +40,7 @@ namespace NzbDrone.App.Test
var serviceController = new ServiceProvider();
//Act
serviceController.ServiceExist(ServiceProvider.NzbDroneServiceName).Should().BeFalse();
serviceController.ServiceExist(ServiceProvider.NzbDroneServiceName).Should().BeFalse("Service already installed");
serviceController.Install();
serviceController.ServiceExist(ServiceProvider.NzbDroneServiceName).Should().BeTrue();
serviceController.UnInstall();