23 references to State
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
HubConnectionTests.cs (2)
2788Assert.Equal(HubConnectionState.Disconnected, connection.State); 2909Assert.Equal(HubConnectionState.Disconnected, connection.State);
Microsoft.AspNetCore.SignalR.Client.Tests (21)
HubConnectionTests.ConnectionLifecycle.cs (20)
43Assert.Equal(HubConnectionState.Disconnected, connection.State); 47Assert.Equal(HubConnectionState.Connected, connection.State); 93Assert.Equal(HubConnectionState.Disconnected, connection.State); 97Assert.Equal(HubConnectionState.Connected, connection.State); 100Assert.Equal(HubConnectionState.Disconnected, connection.State); 104Assert.Equal(HubConnectionState.Connected, connection.State); 251Assert.Equal(HubConnectionState.Connecting, connection.State); 259Assert.Equal(HubConnectionState.Connected, connection.State); 273Assert.Equal(HubConnectionState.Disconnected, connection.State); 277Assert.Equal(HubConnectionState.Disconnected, connection.State); 281Assert.Equal(HubConnectionState.Connected, connection.State); 285Assert.Equal(HubConnectionState.Disconnected, connection.State); 322Assert.Equal(HubConnectionState.Disconnected, connection.State); 326Assert.Equal(HubConnectionState.Connected, connection.State); 330Assert.Equal(HubConnectionState.Disconnected, connection.State); 333Assert.Equal(HubConnectionState.Disconnected, connection.State); 345Assert.Equal(HubConnectionState.Disconnected, connection.State); 349Assert.Equal(HubConnectionState.Disconnected, connection.State); 353Assert.Equal(HubConnectionState.Connected, connection.State); 517Assert.Equal(HubConnectionState.Disconnected, hubConnection.State);
HubConnectionTests.Reconnect.cs (1)
720Assert.Equal(HubConnectionState.Disconnected, hubConnection.State);