5 references to RunInvalidNegotiateResponseTest
Microsoft.AspNetCore.SignalR.Client.Tests (5)
HttpConnectionTests.Negotiate.cs (5)
31
return
RunInvalidNegotiateResponseTest
<InvalidDataException>(negotiatePayload, "Invalid negotiation response received.");
37
return
RunInvalidNegotiateResponseTest
<FormatException>(ResponseUtils.CreateNegotiationContent(connectionId: string.Empty), "Invalid connection id.");
43
return
RunInvalidNegotiateResponseTest
<InvalidDataException>(ResponseUtils.CreateNegotiationContent(negotiateVersion: 1, connectionToken: null), "Invalid negotiation response received.");
49
return
RunInvalidNegotiateResponseTest
<AggregateException>(ResponseUtils.CreateNegotiationContent(transportTypes: HttpTransportType.ServerSentEvents),
56
return
RunInvalidNegotiateResponseTest
<NoTransportSupportedException>(ResponseUtils.CreateNegotiationContent(transportTypes: HttpTransportType.None), "None of the transports supported by the client are supported by the server.");