40 instantiations of TestHttpMessageHandler
Microsoft.AspNetCore.SignalR.Client.Tests (40)
HttpConnectionFactoryTests.cs (1)
28
var testHandler = new
TestHttpMessageHandler
(autoNegotiate: false, handleFirstPoll: false);
HttpConnectionTests.ConnectionLifecycle.cs (9)
259
var testHttpHandler = new
TestHttpMessageHandler
();
291
var httpHandler = new
TestHttpMessageHandler
();
333
var httpHandler = new
TestHttpMessageHandler
();
357
var httpHandler = new
TestHttpMessageHandler
();
389
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
433
var httpHandler = new
TestHttpMessageHandler
();
462
var httpHandler = new
TestHttpMessageHandler
();
491
var httpHandler = new
TestHttpMessageHandler
();
516
var httpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
HttpConnectionTests.cs (2)
128
var testHttpHandler = new
TestHttpMessageHandler
(false);
169
var testHttpHandler = new
TestHttpMessageHandler
(false);
HttpConnectionTests.Negotiate.cs (13)
68
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
98
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
134
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
171
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
212
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
250
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
310
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
335
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
417
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
482
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
531
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
583
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
607
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
HttpConnectionTests.Transport.cs (11)
33
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
85
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
109
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
157
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
195
var testHttpHandler = new
TestHttpMessageHandler
();
227
var testHttpHandler = new
TestHttpMessageHandler
();
318
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
347
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
423
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
457
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
519
var testHttpHandler = new
TestHttpMessageHandler
(autoNegotiate: false);
LongPollingTransportTests.cs (1)
701
var testHttpHandler = new
TestHttpMessageHandler
();
SendUtilsTests.cs (1)
19
var testHttpHandler = new
TestHttpMessageHandler
();
ServerSentEventsTransportTests.cs (1)
411
var testHttpHandler = new
TestHttpMessageHandler
();
TestHttpMessageHandler.cs (1)
104
var testHttpMessageHandler = new
TestHttpMessageHandler
();
48 references to TestHttpMessageHandler
Microsoft.AspNetCore.SignalR.Client.Tests (48)
HttpConnectionFactoryTests.cs (1)
28
var
testHandler = new TestHttpMessageHandler(autoNegotiate: false, handleFirstPoll: false);
HttpConnectionTests.ConnectionLifecycle.cs (9)
259
var
testHttpHandler = new TestHttpMessageHandler();
291
var
httpHandler = new TestHttpMessageHandler();
333
var
httpHandler = new TestHttpMessageHandler();
357
var
httpHandler = new TestHttpMessageHandler();
389
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
433
var
httpHandler = new TestHttpMessageHandler();
462
var
httpHandler = new TestHttpMessageHandler();
491
var
httpHandler = new TestHttpMessageHandler();
516
var
httpHandler = new TestHttpMessageHandler(autoNegotiate: false);
HttpConnectionTests.cs (4)
74
var
testHttpHandler =
TestHttpMessageHandler
.CreateDefault();
128
var
testHttpHandler = new TestHttpMessageHandler(false);
169
var
testHttpHandler = new TestHttpMessageHandler(false);
HttpConnectionTests.Helpers.cs (1)
32
HttpMessageHandlerFactory = (httpMessageHandler) => httpHandler ??
TestHttpMessageHandler
.CreateDefault(),
HttpConnectionTests.Negotiate.cs (13)
68
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
98
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
134
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
171
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
212
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
250
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
310
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
335
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
417
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
482
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
531
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
583
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
607
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
HttpConnectionTests.Transport.cs (11)
33
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
85
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
109
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
157
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
195
var
testHttpHandler = new TestHttpMessageHandler();
227
var
testHttpHandler = new TestHttpMessageHandler();
318
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
347
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
423
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
457
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
519
var
testHttpHandler = new TestHttpMessageHandler(autoNegotiate: false);
LongPollingTransportTests.cs (3)
683
var
handler =
TestHttpMessageHandler
.CreateDefault();
701
var
testHttpHandler = new TestHttpMessageHandler();
SendUtilsTests.cs (1)
19
var
testHttpHandler = new TestHttpMessageHandler();
ServerSentEventsTransportTests.cs (1)
411
var
testHttpHandler = new TestHttpMessageHandler();
TestHttpMessageHandler.cs (4)
40
_logger = loggerFactory?.CreateLogger<
TestHttpMessageHandler
>() ?? NullLoggerFactory.Instance.CreateLogger<
TestHttpMessageHandler
>();
102
public static
TestHttpMessageHandler
CreateDefault()
104
var
testHttpMessageHandler = new TestHttpMessageHandler();