private void StartupBrowserCommunicationTimeoutMonitor() { if (_browserCommunicationTimeoutMonitor == null) { _browserCommunicationTimeoutMonitor = new BrowserCommunicationTimeoutMonitor(_logger, _eventPublisher, new TimerWrapper(3000), Settings.Default.MaxWaitTimeAllowedBeforeCommunicationErrorSent); _eventSubscriptionManager.AddListener(_browserCommunicationTimeoutMonitor); } }
private void StartupBrowserCommunicationTimeoutMonitor() { if (_browserCommunicationTimeoutMonitor == null) { _browserCommunicationTimeoutMonitor = new BrowserCommunicationTimeoutMonitor(_eventPublisher, new TimerWrapper(3000), TimeSpan.FromMinutes(5)); _eventSubscriptionManager.AddListener(_browserCommunicationTimeoutMonitor); } }
protected override void Before_all_tests() { base.Before_all_tests(); MockTimer = new Mock <ITimer>(); Monitor = new BrowserCommunicationTimeoutMonitor(TestEventPublisher, MockTimer.Object, new TimeSpan(0, 0, 0, 1, 0)); }
protected override void Before_all_tests() { base.Before_all_tests(); MockTimer = new Mock<ITimer>(); Monitor = new BrowserCommunicationTimeoutMonitor(TestEventPublisher, MockTimer.Object, new TimeSpan(0, 0, 0, 1, 0)); }
private void StartupBrowserCommunicationTimeoutMonitor() { if (_browserCommunicationTimeoutMonitor == null) { _browserCommunicationTimeoutMonitor = new BrowserCommunicationTimeoutMonitor(_logger, _eventPublisher, new TimerWrapper(3000), Settings.Default.MaxWaitTimeAllowedBeforeCommunicationErrorSent); _eventSubscriptionManager.AddListener(_browserCommunicationTimeoutMonitor); } }
private void StartupBrowserCommunicationTimeoutMonitor() { if (_browserCommunicationTimeoutMonitor == null) { _browserCommunicationTimeoutMonitor = new BrowserCommunicationTimeoutMonitor(_eventPublisher, new TimerWrapper(3000), TimeSpan.FromMinutes(5)); _eventSubscriptionManager.AddListener(_browserCommunicationTimeoutMonitor); } }