59 references to Closed
Binding.UDS.IntegrationTests (1)
ServiceHelper.cs (1)
105
if (comObj.State != System.ServiceModel.CommunicationState.
Closed
)
Client.ClientBase.IntegrationTests (20)
ChannelBaseTests.4.0.0.cs (3)
245
Assert.True(CommunicationState.
Closed
== client.State,
249
Assert.True(CommunicationState.
Closed
== ((ICommunicationObject)serviceProxy).State,
253
Assert.True(CommunicationState.
Closed
== factory.State,
ClientBaseTests.4.0.0.cs (17)
182
Assert.Equal(CommunicationState.
Closed
, client.State);
191
Assert.Equal(CommunicationState.
Closed
, client.State);
256
Assert.True(CommunicationState.
Closed
== client.State,
260
Assert.True(CommunicationState.
Closed
== ((ICommunicationObject)serviceProxy).State,
264
Assert.True(CommunicationState.
Closed
== factory.State,
333
Assert.True(CommunicationState.
Closed
== client.State,
337
Assert.True(CommunicationState.
Closed
== ((ICommunicationObject)serviceProxy).State,
341
Assert.True(CommunicationState.
Closed
== factory.State,
412
Assert.True(CommunicationState.
Closed
== client.State,
416
Assert.True(CommunicationState.
Closed
== ((ICommunicationObject)serviceProxy).State,
420
Assert.True(CommunicationState.
Closed
== factory.State,
462
Assert.True(CommunicationState.
Closed
== client.State,
466
Assert.True(CommunicationState.
Closed
== ((ICommunicationObject)serviceProxy).State,
470
Assert.True(CommunicationState.
Closed
== factory.State,
513
Assert.True(CommunicationState.
Closed
== client.State,
517
Assert.True(CommunicationState.
Closed
== ((ICommunicationObject)serviceProxy).State,
521
Assert.True(CommunicationState.
Closed
== factory.State,
Client.TypedClient.IntegrationTests (2)
TypedProxyDuplexTests.4.1.0.cs (2)
49
if (factory != null && factory.State != CommunicationState.
Closed
)
84
if (factory != null && factory.State != CommunicationState.
Closed
)
Contract.Service.IntegrationTests (11)
ServiceContractTests.4.0.0.cs (2)
420
Assert.True(factory.State == CommunicationState.
Closed
,
469
Assert.True(proxyAsCommunicationObject.State == CommunicationState.
Closed
,
ServiceContractTests.4.1.0.cs (9)
702
Assert.True(factory.State == CommunicationState.
Closed
,
742
Assert.True(((ICommunicationObject)serviceProxy1).State == CommunicationState.
Closed
,
744
Assert.True(((ICommunicationObject)serviceProxy2).State == CommunicationState.
Closed
,
792
Assert.True(factory.State == CommunicationState.
Closed
,
832
Assert.True(((ICommunicationObject)serviceProxy1).State == CommunicationState.
Closed
,
834
Assert.True(((ICommunicationObject)serviceProxy2).State == CommunicationState.
Closed
,
883
Assert.True(factory.State == CommunicationState.
Closed
,
923
Assert.True(((ICommunicationObject)serviceProxy1).State == CommunicationState.
Closed
,
925
Assert.True(((ICommunicationObject)serviceProxy2).State == CommunicationState.
Closed
,
Infrastructure.Common (1)
ServiceUtilHelper.cs (1)
436
if (comObj.State != CommunicationState.
Closed
)
ScenarioTests.Common.Tests (1)
ScenarioTestHelpers.cs (1)
200
if (comObj.State != CommunicationState.
Closed
)
System.ServiceModel.Federation (1)
System\IdentityModel\Security\WrapperSecurityCommunicationObject.cs (1)
136
case CommunicationState.
Closed
:
System.ServiceModel.Primitives.Tests (22)
Channels\CommunicationObjectTest.cs (3)
103
Assert.True(mco.State == CommunicationState.
Closed
,
230
Assert.True(data.StateLeaveOnClosed == CommunicationState.
Closed
,
297
Assert.True(data.StateLeaveOnClosed == CommunicationState.
Closed
,
Channels\CustomChannelTest.cs (6)
101
Assert.True(factory.State == CommunicationState.
Closed
,
104
Assert.True(((ICommunicationObject)channel).State == CommunicationState.
Closed
,
198
Assert.True(factory.State == CommunicationState.
Closed
,
201
Assert.True(((ICommunicationObject)channel).State == CommunicationState.
Closed
,
391
Assert.True(factory.State == CommunicationState.
Closed
,
394
Assert.True(((ICommunicationObject)channel).State == CommunicationState.
Closed
,
ServiceModel\ChannelFactoryTest.cs (8)
162
Assert.Equal(CommunicationState.
Closed
, factory.State);
170
Assert.Equal(CommunicationState.
Closed
, factory.State);
174
Assert.Equal(CommunicationState.
Closed
, factory.State);
226
Assert.True(CommunicationState.
Closed
== factory.State,
227
string.Format("factory.State - Expected: {0}, Actual: {1}.", CommunicationState.
Closed
, factory.State));
231
if (factory != null && factory.State != CommunicationState.
Closed
)
288
Assert.Equal(CommunicationState.
Closed
, factory.State);
317
Assert.Equal(CommunicationState.
Closed
, factory.State);
ServiceModel\ClientBaseTest.cs (4)
27
Assert.Equal(CommunicationState.
Closed
, client.State);
125
Assert.Equal(CommunicationState.
Closed
, existingChannelFactory.State);
188
Assert.Equal(CommunicationState.
Closed
, client.State);
206
Assert.Equal(CommunicationState.
Closed
, client.State);
ServiceModel\DuplexClientBaseTest.cs (1)
39
Assert.Equal<CommunicationState>(CommunicationState.
Closed
, duplexClientBase.State);