77 references to TestTimeout
Client.ChannelLayer.IntegrationTests (6)
DuplexChannelWithSynchronizationContext.cs (6)
64Assert.True(syncCtxTask.Wait(ScenarioTestHelpers.TestTimeout)); 128Assert.True(syncCtxTask.Wait(ScenarioTestHelpers.TestTimeout)); 154}).Wait(ScenarioTestHelpers.TestTimeout * 100); 219}).Wait(ScenarioTestHelpers.TestTimeout * 100); 275if (_tcs.Task.Wait(ScenarioTestHelpers.TestTimeout)) 279throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.TestTimeout));
Client.ClientBase.IntegrationTests (1)
ClientBaseTests.4.0.0.cs (1)
359TimeSpan timeout = ScenarioTestHelpers.TestTimeout;
Client.ExpectedExceptions.IntegrationTests (4)
ExpectedExceptionTests.4.1.0.cs (4)
253if ((task as IAsyncResult).AsyncWaitHandle.WaitOne(ScenarioTestHelpers.TestTimeout)) 259throw new TimeoutException(String.Format("The call to the Service did not complete within the alloted time of: {0}", ScenarioTestHelpers.TestTimeout)); 305if ((task as IAsyncResult).AsyncWaitHandle.WaitOne(ScenarioTestHelpers.TestTimeout)) 311throw new TimeoutException(String.Format("The call to the Service did not complete within the alloted time of: {0}", ScenarioTestHelpers.TestTimeout));
Client.TypedClient.IntegrationTests (8)
TypedProxyTests.4.0.0.cs (6)
74}).Wait(ScenarioTestHelpers.TestTimeout); 108}).Wait(ScenarioTestHelpers.TestTimeout); 162}).Wait(ScenarioTestHelpers.TestTimeout); 198}).Wait(ScenarioTestHelpers.TestTimeout); 480bool success = waitEvent.WaitOne(ScenarioTestHelpers.TestTimeout); 514bool success = ar.AsyncWaitHandle.WaitOne(ScenarioTestHelpers.TestTimeout);
TypedProxyTests.4.1.0.cs (2)
28}).Wait(ScenarioTestHelpers.TestTimeout); 42}).Wait(ScenarioTestHelpers.TestTimeout);
Contract.Service.IntegrationTests (20)
ServiceContractTests.4.0.0.cs (10)
49Assert.True(waitEvent.WaitOne(ScenarioTestHelpers.TestTimeout), "AsyncCallback was not called."); 96Assert.True(waitEvent.WaitOne(ScenarioTestHelpers.TestTimeout), "AsyncCallback was not called."); 142Assert.True(waitEvent.WaitOne(ScenarioTestHelpers.TestTimeout), "AsyncCallback was not called."); 190Assert.True(waitEvent.WaitOne(ScenarioTestHelpers.TestTimeout), "AsyncCallback was not called."); 303binding.OpenTimeout = ScenarioTestHelpers.TestTimeout; 338}).Wait(ScenarioTestHelpers.TestTimeout); 391}).Wait(ScenarioTestHelpers.TestTimeout); 409binding.CloseTimeout = ScenarioTestHelpers.TestTimeout; 442}).Wait(ScenarioTestHelpers.TestTimeout); 492}).Wait(ScenarioTestHelpers.TestTimeout);
ServiceContractTests.4.1.0.cs (10)
212}).Wait(ScenarioTestHelpers.TestTimeout); 226}).Wait(ScenarioTestHelpers.TestTimeout); 616}).Wait(ScenarioTestHelpers.TestTimeout); 630}).Wait(ScenarioTestHelpers.TestTimeout); 690binding.CloseTimeout = ScenarioTestHelpers.TestTimeout; 691binding.SendTimeout = ScenarioTestHelpers.TestTimeout; 780binding.CloseTimeout = ScenarioTestHelpers.TestTimeout; 781binding.SendTimeout = ScenarioTestHelpers.TestTimeout; 870binding.CloseTimeout = ScenarioTestHelpers.TestTimeout; 871binding.SendTimeout = ScenarioTestHelpers.TestTimeout;
Extensibility.WebSockets.IntegrationTests (30)
WebSocketTests.4.1.0.cs (30)
76Assert.True(clientReceiver.ReceiveStreamInvoked.WaitOne(ScenarioTestHelpers.TestTimeout), 77String.Format("Test case timeout was reached while waiting for the stream response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 88Assert.True(clientReceiver.ReceiveStreamCompleted.WaitOne(ScenarioTestHelpers.TestTimeout), 89String.Format("Test case timeout was reached while waiting for the stream response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 94Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.TestTimeout), 95String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 151Assert.True(clientReceiver.ReceiveDataInvoked.WaitOne(ScenarioTestHelpers.TestTimeout), 152String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 156Assert.True(clientReceiver.ReceiveDataCompleted.WaitOne(ScenarioTestHelpers.TestTimeout), 157String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 162Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.TestTimeout), 163String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 219Assert.True(clientReceiver.ReceiveDataInvoked.WaitOne(ScenarioTestHelpers.TestTimeout), 220String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 224Assert.True(clientReceiver.ReceiveDataCompleted.WaitOne(ScenarioTestHelpers.TestTimeout), 225String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 230Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.TestTimeout), 231String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 308Assert.True(clientReceiver.ReceiveStreamInvoked.WaitOne(ScenarioTestHelpers.TestTimeout), 309String.Format("Test case timeout was reached while waiting for the stream response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 320Assert.True(clientReceiver.ReceiveStreamCompleted.WaitOne(ScenarioTestHelpers.TestTimeout), 321String.Format("Test case timeout was reached while waiting for the stream response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 326Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.TestTimeout), 327String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 386Assert.True(clientReceiver.ReceiveDataInvoked.WaitOne(ScenarioTestHelpers.TestTimeout), 387String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 391Assert.True(clientReceiver.ReceiveDataCompleted.WaitOne(ScenarioTestHelpers.TestTimeout), 392String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 397Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.TestTimeout), 398String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
ScenarioTests.Common.Tests (6)
ScenarioTestTypes.cs (6)
884if (_tcs.Task.Wait(ScenarioTestHelpers.TestTimeout)) 888throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.TestTimeout)); 896if (_xml_tcs.Task.Wait(ScenarioTestHelpers.TestTimeout)) 900throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.TestTimeout)); 908if (_datacontract_tcs.Task.Wait(ScenarioTestHelpers.TestTimeout)) 912throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.TestTimeout));
Security.TransportSecurity.IntegrationTests (2)
Tcp\StreamingTests.4.1.0.cs (2)
395}).Wait(ScenarioTestHelpers.TestTimeout); 414}).Wait(ScenarioTestHelpers.TestTimeout);