public BuildService( UnityOptions options, IBuildStatusService buildStatusService, IDownloadService downloadService) { _options = options; _buildStatusService = buildStatusService; _downloadService = downloadService; }
public void SetUp() { downloader = new FakeHttpFetcher("foo"); SmeedeeApp.Instance.ServiceLocator.Bind<IFetchHttp>(downloader); SmeedeeApp.Instance.ServiceLocator.Bind<IBackgroundWorker>(new NoBackgroundInvocation()); SmeedeeApp.Instance.ServiceLocator.Bind<IPersistenceService>(new FakePersistenceService()); SmeedeeApp.Instance.ServiceLocator.Bind<IValidationService>(new FakeValidationService()); SmeedeeApp.Instance.ServiceLocator.Bind<ILog>(new FakeLogService()); service = new BuildStatusService(); }
public void SetUp() { downloader = new FakeHttpFetcher("foo"); SmeedeeApp.Instance.ServiceLocator.Bind <IFetchHttp>(downloader); SmeedeeApp.Instance.ServiceLocator.Bind <IBackgroundWorker>(new NoBackgroundInvocation()); SmeedeeApp.Instance.ServiceLocator.Bind <IPersistenceService>(new FakePersistenceService()); SmeedeeApp.Instance.ServiceLocator.Bind <IValidationService>(new FakeValidationService()); SmeedeeApp.Instance.ServiceLocator.Bind <ILog>(new FakeLogService()); service = new BuildStatusService(); }