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