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