342 instantiations of TestServer
InMemory.FunctionalTests (342)
BadHttpRequestTests.cs (8)
164
await using (var server = new
TestServer
(context =>
212
await using (var server = new
TestServer
(async context =>
237
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))))
259
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))))
343
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) { DiagnosticSource = diagListener }))
390
await using (var server = new
TestServer
(context => context.Request.Body.DrainAsync(default), new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) { DiagnosticSource = diagListener }))
456
await using (var server = new
TestServer
(context => context.Request.Body.DrainAsync(default), new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) { DiagnosticSource = diagListener }))
531
await using (var server = new
TestServer
(context => context.Request.Body.DrainAsync(default), new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) { DiagnosticSource = diagListener }))
ChunkedRequestTests.cs (17)
75
await using (var server = new
TestServer
(App, testContext))
104
await using (var server = new
TestServer
(PipeApp, testContext))
133
await using (var server = new
TestServer
(AppChunked, testContext))
174
await using (var server = new
TestServer
(async httpContext =>
230
await using (var server = new
TestServer
(async httpContext =>
358
await using (var server = new
TestServer
(async httpContext =>
495
await using (var server = new
TestServer
(async context =>
539
await using (var server = new
TestServer
(async context =>
580
await using (var server = new
TestServer
(async httpContext =>
661
await using (var server = new
TestServer
(async httpContext =>
705
await using (var server = new
TestServer
(async httpContext =>
750
await using (var server = new
TestServer
(httpContext =>
861
await using (var server = new
TestServer
(async httpContext =>
911
await using (var server = new
TestServer
(async httpContext =>
967
await using (var server = new
TestServer
(async httpContext =>
1017
await using (var server = new
TestServer
(async httpContext =>
1080
await using (var server = new
TestServer
(async httpContext =>
ChunkedResponseTests.cs (29)
24
await using (var server = new
TestServer
(async httpContext =>
59
await using (var server = new
TestServer
(async httpContext =>
87
await using (var server = new
TestServer
(async httpContext =>
123
await using (var server = new
TestServer
(async httpContext =>
159
await using (var server = new
TestServer
(async httpContext =>
199
await using (var server = new
TestServer
(async httpContext =>
241
await using (var server = new
TestServer
(async httpContext =>
278
await using (var server = new
TestServer
(async httpContext =>
314
await using (var server = new
TestServer
(async httpContext =>
352
await using (var server = new
TestServer
(async httpContext =>
394
await using (var server = new
TestServer
(async httpContext =>
424
await using (var server = new
TestServer
(async httpContext =>
457
await using (var server = new
TestServer
(async httpContext =>
491
await using (var server = new
TestServer
(async httpContext =>
535
await using (var server = new
TestServer
(async httpContext =>
573
await using (var server = new
TestServer
(async httpContext =>
617
await using (var server = new
TestServer
(async httpContext =>
662
await using (var server = new
TestServer
(async httpContext =>
716
await using (var server = new
TestServer
(async httpContext =>
772
await using (var server = new
TestServer
(async httpContext =>
827
await using (var server = new
TestServer
(async httpContext =>
869
await using (var server = new
TestServer
(async httpContext =>
916
await using (var server = new
TestServer
(async httpContext =>
957
await using (var server = new
TestServer
(async httpContext =>
997
await using (var server = new
TestServer
(async httpContext =>
1036
await using (var server = new
TestServer
(async httpContext =>
1073
await using (var server = new
TestServer
(async httpContext =>
1111
await using (var server = new
TestServer
(async httpContext =>
1146
await using (var server = new
TestServer
(async httpContext =>
ConnectionLimitTests.cs (2)
230
return new
TestServer
(app, serviceContext);
244
return new
TestServer
(app, serviceContext, listenOptions);
ConnectionMiddlewareTests.cs (10)
50
await using (var server = new
TestServer
(requestDelegate, serviceContext, listenOptions))
74
await using (var server = new
TestServer
(requestDelegate, serviceContext, listenOptions =>
104
await using (var server = new
TestServer
(requestDelegate, serviceContext, listenOptions =>
140
await using (var server = new
TestServer
(requestDelegate, serviceContext, listenOptions))
163
await using (var server = new
TestServer
(requestDelegate, serviceContext, listenOptions))
192
await using (var server = new
TestServer
(requestDelegate, serviceContext, listenOptions))
223
await using (var server = new
TestServer
(TestApp.EchoApp, serviceContext, listenOptions))
252
await using (var server = new
TestServer
(requestDelegate, serviceContext, listenOptions))
276
await using (var server = new
TestServer
(async context =>
307
await using (var server = new
TestServer
(async context =>
DefaultHeaderTests.cs (1)
21
await using (var server = new
TestServer
(ctx => Task.CompletedTask, testContext))
EventSourceTests.cs (3)
41
await using (var server = new
TestServer
(async context =>
149
await using (var server = new
TestServer
(context =>
271
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory),
Http2\Http2EndToEndTests.cs (1)
31
await using var server = new
TestServer
(async context =>
Http2\TlsTests.cs (1)
41
await using (var server = new
TestServer
(context =>
HttpProtocolSelectionTests.cs (2)
67
await using (var server = new
TestServer
(context => Task.CompletedTask, testContext, listenOptions))
86
await using (var server = new
TestServer
(context => Task.CompletedTask, testContext, listenOptions))
HttpsConnectionMiddlewareTests.cs (37)
58
await using (var server = new
TestServer
(App, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
92
await using (var server = new
TestServer
(App, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
112
await using (var server = new
TestServer
(context =>
143
await using (var server = new
TestServer
(context =>
181
await using (var server = new
TestServer
(context =>
204
await using (var server = new
TestServer
(App, new TestServiceContext(LoggerFactory), listenOptions =>
230
await using (var server = new
TestServer
(context =>
258
await using (var server = new
TestServer
(context =>
285
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
315
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
348
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
383
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
418
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
452
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
480
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
510
await using (var server = new
TestServer
(context =>
546
await using var server = new
TestServer
(async context =>
590
await using var server = new
TestServer
(async context =>
631
await using var server = new
TestServer
(async context =>
674
await using var server = new
TestServer
(async context =>
722
await using var server = new
TestServer
(async context =>
764
await using var server = new
TestServer
(async context =>
842
await using (var server = new
TestServer
(
891
await using var server = new
TestServer
(async context =>
928
await using var server = new
TestServer
(context => Task.CompletedTask,
961
await using var server = new
TestServer
(context => Task.CompletedTask,
994
await using var server = new
TestServer
(context => Task.CompletedTask,
1027
await using var server = new
TestServer
(async context =>
1074
await using var server = new
TestServer
(async context =>
1118
await using (var server = new
TestServer
(context => context.Response.WriteAsync(context.Request.Scheme), new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1141
await using (var server = new
TestServer
(context => context.Response.WriteAsync("hello world"), new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1179
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1206
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1231
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1256
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1290
await using (var server = new
TestServer
(app, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1389
await using var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions);
HttpsTests.cs (18)
83
await using (var server = new
TestServer
(context => Task.CompletedTask,
175
await using (var server = new
TestServer
(context => Task.CompletedTask,
203
await using (var server = new
TestServer
(context => Task.CompletedTask,
232
await using (var server = new
TestServer
(async httpContext =>
279
await using (var server = new
TestServer
(async httpContext =>
322
await using (var server = new
TestServer
(context => Task.CompletedTask,
348
await using (var server = new
TestServer
(context => Task.CompletedTask,
370
await using (var server = new
TestServer
(context => Task.CompletedTask,
400
await using (var server = new
TestServer
(context => Task.CompletedTask,
441
await using (var server = new
TestServer
(context => Task.CompletedTask,
481
await using (var server = new
TestServer
(context => Task.CompletedTask,
526
await using (var server = new
TestServer
(context => Task.CompletedTask,
562
await using var server = new
TestServer
(context => Task.CompletedTask,
597
await using (var server = new
TestServer
(context => Task.CompletedTask,
643
await using (var server = new
TestServer
(context => Task.CompletedTask,
683
await using (var server = new
TestServer
(context => Task.CompletedTask,
719
await using (var server = new
TestServer
(context => Task.CompletedTask,
755
await using (var server = new
TestServer
(context => Task.CompletedTask,
KeepAliveTimeoutTests.cs (1)
255
return new
TestServer
(httpContext => App(httpContext, longRunningCt, upgradeCt), context);
KestrelMetricsTests.cs (13)
69
await using var server = new
TestServer
(EchoApp, serviceContext, listenOptions);
128
await using var server = new
TestServer
(EchoApp, serviceContext, listenOptions);
218
var server = new
TestServer
(async c =>
284
var server = new
TestServer
(async c =>
349
await using var server = new
TestServer
(EchoApp, serviceContext, listenOptions);
405
await using var server = new
TestServer
(async c =>
464
await using var server = new
TestServer
(EchoApp, serviceContext, listenOptions);
504
await using var server = new
TestServer
(UpgradeApp, serviceContext, listenOptions);
539
var server = new
TestServer
(async context =>
621
var server = new
TestServer
(async context =>
686
await using (var server = new
TestServer
(context =>
773
var server = new
TestServer
(
854
await using (var server = new
TestServer
(context =>
LoggingConnectionMiddlewareTests.cs (1)
20
await using (var server = new
TestServer
(context =>
MaxRequestBodySizeTests.cs (13)
31
await using (var server = new
TestServer
(async context =>
73
await using (var server = new
TestServer
(async context =>
120
await using (var server = new
TestServer
(async context =>
169
await using (var server = new
TestServer
(async context =>
211
await using (var server = new
TestServer
(async context =>
251
await using (var server = new
TestServer
(context => context.Request.Body.CopyToAsync(Stream.Null),
288
await using (var server = new
TestServer
(async context =>
328
await using (var server = new
TestServer
(async context =>
373
await using (var server = new
TestServer
(async context =>
421
await using (var server = new
TestServer
(async context =>
468
await using (var server = new
TestServer
(async context =>
513
await using (var server = new
TestServer
(async context =>
586
await using (var server = new
TestServer
(async context =>
MaxRequestLineSizeTests.cs (1)
85
return new
TestServer
(async httpContext => await httpContext.Response.WriteAsync("hello, world"), new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(meterFactory))
RequestBodyTimeoutTests.cs (3)
30
await using (var server = new
TestServer
(context =>
114
await using (var server = new
TestServer
(context =>
161
await using (var server = new
TestServer
(async context =>
RequestHeaderLimitsTests.cs (1)
176
return new
TestServer
(async httpContext => await httpContext.Response.WriteAsync("hello, world"), new TestServiceContext(LoggerFactory, metrics: kestrelMetrics)
RequestHeadersTimeoutTests.cs (1)
158
return new
TestServer
(async httpContext =>
RequestTargetProcessingTests.cs (3)
22
await using (var server = new
TestServer
(async context =>
67
await using (var server = new
TestServer
(async context =>
99
await using (var server = new
TestServer
(async context =>
RequestTests.cs (52)
30
await using (var server = new
TestServer
(async context =>
61
await using (var server = new
TestServer
(async context =>
82
await using (var server = new
TestServer
(async context =>
116
await using (var server = new
TestServer
(async context =>
182
await using (var server = new
TestServer
(async context =>
235
await using (var server = new
TestServer
(async context =>
287
await using (var server = new
TestServer
(TestApp.EchoAppChunked, testContext))
343
await using var server = new
TestServer
(ExecuteApplication, testContext);
380
await using var server = new
TestServer
(ExecuteApplication, testContext);
414
await using var server = new
TestServer
(ExecuteApplication, testContext);
452
await using var server = new
TestServer
(ExecuteApplication, testContext);
493
await using var server = new
TestServer
(ExecuteApplication, testContext);
536
await using var server = new
TestServer
(ExecuteApplication, testContext);
575
await using (var server = new
TestServer
(async context =>
592
await using (var server = new
TestServer
(async context =>
652
await using (var server = new
TestServer
(TestApp.EchoAppChunked, testContext))
686
await using (var server = new
TestServer
(TestApp.EchoApp, testContext))
725
await using (var server = new
TestServer
(TestApp.EchoAppChunked, testContext))
759
await using (var server = new
TestServer
(TestApp.EchoApp, testContext))
798
await using (var server = new
TestServer
(TestApp.EchoAppChunked, testContext))
854
await using (var server = new
TestServer
(TestApp.EchoAppChunked, testContext))
890
await using (var server = new
TestServer
(TestApp.EchoAppChunked, testContext))
922
await using (var server = new
TestServer
(async httpContext =>
968
await using (var server = new
TestServer
(async httpContext =>
1015
await using (var server = new
TestServer
(async httpContext =>
1047
await using (var server = new
TestServer
(async httpContext =>
1082
await using (var server = new
TestServer
(async httpContext =>
1121
await using (var server = new
TestServer
(async httpContext =>
1181
await using (var server = new
TestServer
(async httpContext =>
1236
await using (var server = new
TestServer
(async httpContext =>
1274
await using (var server = new
TestServer
(TestApp.EchoAppChunked, testContext))
1355
await using (var server = new
TestServer
(async context =>
1396
await using (var server = new
TestServer
(async context =>
1464
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory)))
1482
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory)))
1523
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory)))
1571
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory)))
1597
await using (var server = new
TestServer
(async context =>
1737
await using (var server = new
TestServer
(async context =>
1830
await using (var server = new
TestServer
(async context =>
1869
await using (var server = new
TestServer
(async httpContext =>
1903
await using (var server = new
TestServer
(async httpContext =>
1953
await using (var server = new
TestServer
(async httpContext =>
1998
await using (var server = new
TestServer
(async httpContext =>
2038
await using (var server = new
TestServer
(async httpContext =>
2082
await using (var server = new
TestServer
(context =>
2137
await using (var server = new
TestServer
(context =>
2199
await using (var server = new
TestServer
(context =>
2231
await using (var server = new
TestServer
(_ => Task.CompletedTask, testContext))
2263
await using (var server = new
TestServer
(context =>
2292
await using (var server = new
TestServer
(context =>
2335
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory, disableHttp1LineFeedTerminators: false)))
ResponseDrainingTests.cs (1)
28
await using (var server = new
TestServer
(context =>
ResponseHeaderTests.cs (4)
21
await using var server = new
TestServer
(context =>
52
await using var server = new
TestServer
(context =>
89
await using var server = new
TestServer
(context =>
110
await using var server = new
TestServer
(context =>
ResponseTests.cs (109)
41
await using (var server = new
TestServer
(context =>
79
await using (var server = new
TestServer
(async context =>
114
await using (var server = new
TestServer
(async context =>
152
await using (var server = new
TestServer
(async context =>
217
await using var server = new
TestServer
(async context =>
246
await using var server = new
TestServer
(async context =>
375
await using (var server = new
TestServer
(async context =>
407
await using (var server = new
TestServer
(async context =>
444
await using (var server = new
TestServer
(httpContext =>
482
await using (var server = new
TestServer
(async httpContext =>
518
await using (var server = new
TestServer
(async httpContext =>
552
await using (var server = new
TestServer
(httpContext =>
577
await using (var server = new
TestServer
(httpContext =>
677
await using (var server = new
TestServer
(async httpContext =>
715
await using (var server = new
TestServer
(async httpContext =>
755
await using (var server = new
TestServer
(async httpContext =>
794
await using (var server = new
TestServer
(async httpContext =>
836
await using (var server = new
TestServer
(async httpContext =>
877
await using (var server = new
TestServer
(httpContext =>
913
await using (var server = new
TestServer
(async httpContext =>
957
await using (var server = new
TestServer
(async httpContext =>
998
await using (var server = new
TestServer
(async httpContext =>
1037
await using (var server = new
TestServer
(async httpContext =>
1072
await using (var server = new
TestServer
(async httpContext =>
1115
await using (var server = new
TestServer
(async httpContext =>
1169
await using (var server = new
TestServer
(async httpContext =>
1218
await using (var server = new
TestServer
(async httpContext =>
1265
await using (var server = new
TestServer
(httpContext =>
1306
await using (var server = new
TestServer
(async httpContext =>
1344
await using (var server = new
TestServer
(async httpContext =>
1380
await using (var server = new
TestServer
(async httpContext =>
1410
await using (var server = new
TestServer
(httpContext =>
1438
await using (var server = new
TestServer
(async httpContext =>
1471
await using (var server = new
TestServer
(async httpContext =>
1502
await using (var server = new
TestServer
(async httpContext =>
1537
await using (var server = new
TestServer
(async httpContext =>
1577
await using (var server = new
TestServer
(async httpContext =>
1622
await using (var server = new
TestServer
(async httpContext =>
1668
await using (var server = new
TestServer
(async httpContext =>
1711
await using (var server = new
TestServer
(async httpContext =>
1753
await using (var server = new
TestServer
(async httpContext =>
1795
await using (var server = new
TestServer
(async httpContext =>
1840
await using (var server = new
TestServer
(async httpContext =>
1883
await using (var server = new
TestServer
(httpContext =>
1923
await using (var server = new
TestServer
(async httpContext =>
1966
await using (var server = new
TestServer
(async httpContext =>
2003
await using (var server = new
TestServer
(httpContext => Task.CompletedTask,
2037
await using (var server = new
TestServer
(httpContext =>
2107
await using (var server = new
TestServer
(httpContext =>
2153
await using (var server = new
TestServer
(async httpContext =>
2202
await using (var server = new
TestServer
(TestApp.EchoApp, serviceContext))
2226
await using (var server = new
TestServer
(TestApp.EmptyApp, testContext))
2258
await using (var server = new
TestServer
(async httpContext =>
2302
await using (var server = new
TestServer
(TestApp.EmptyApp, testContext))
2325
await using (var server = new
TestServer
(async httpContext =>
2374
await using (var server = new
TestServer
(async httpContext =>
2424
await using (var server = new
TestServer
(httpContext =>
2477
await using (var server = new
TestServer
(async httpContext =>
2533
await using (var server = new
TestServer
(async httpContext =>
2578
await using (var server = new
TestServer
(async httpContext =>
2628
await using (var server = new
TestServer
(async httpContext =>
2680
await using (var server = new
TestServer
(async httpContext =>
2725
await using (var server = new
TestServer
(async httpContext =>
2766
await using (var server = new
TestServer
(async httpContext =>
2797
await using (var server = new
TestServer
(httpContext =>
2822
await using (var server = new
TestServer
(httpContext =>
2851
await using (var server = new
TestServer
(async httpContext =>
2932
await using (var server = new
TestServer
(async httpContext =>
2961
await using (var server = new
TestServer
(async httpContext =>
2989
await using (var server = new
TestServer
(async httpContext =>
3019
await using (var server = new
TestServer
(async httpContext =>
3051
await using (var server = new
TestServer
(async httpContext =>
3081
await using (var server = new
TestServer
(async httpContext =>
3109
await using (var server = new
TestServer
(async httpContext =>
3140
await using (var server = new
TestServer
(async httpContext =>
3176
await using (var server = new
TestServer
(async httpContext =>
3207
await using (var server = new
TestServer
(async httpContext =>
3253
await using (var server = new
TestServer
(httpContext =>
3285
await using (var server = new
TestServer
(async httpContext =>
3321
await using (var server = new
TestServer
(async context =>
3372
await using (var server = new
TestServer
(async context =>
3446
await using (var server = new
TestServer
(context =>
3477
await using (var server = new
TestServer
(context =>
3546
await using (var server = new
TestServer
(httpContext =>
3577
await using (var server = new
TestServer
(async httpContext =>
3610
await using (var server = new
TestServer
(httpContext =>
3640
await using (var server = new
TestServer
(httpContext =>
3672
await using (var server = new
TestServer
(httpContext =>
3710
await using (var server = new
TestServer
(async httpContext =>
3747
await using (var server = new
TestServer
(async httpContext =>
3773
await using (var server = new
TestServer
(async httpContext =>
3815
await using (var server = new
TestServer
(async httpContext =>
3843
await using (var server = new
TestServer
(async httpContext =>
3874
await using var server = new
TestServer
(async httpContext =>
3907
await using (var server = new
TestServer
(async httpContext =>
3958
await using (var server = new
TestServer
(async httpContext =>
4008
await using (var server = new
TestServer
(async httpContext =>
4069
await using (var server = new
TestServer
(httpContext =>
4114
await using (var server = new
TestServer
(async httpContext =>
4142
await using (var server = new
TestServer
(async httpContext =>
4174
await using (var server = new
TestServer
(async httpContext =>
4203
await using (var server = new
TestServer
(async httpContext =>
4238
await using (var server = new
TestServer
(async httpContext =>
4272
await using (var server = new
TestServer
(httpContext =>
4303
await using (var server = new
TestServer
(async httpContext =>
4335
await using (var server = new
TestServer
(async httpContext =>
4475
await using (var server = new
TestServer
(
4574
await using var server = new
TestServer
(async context =>
4624
await using var server = new
TestServer
(async context =>
UpgradeTests.cs (10)
69
await using (var server = new
TestServer
(async context =>
121
await using (var server = new
TestServer
(async context =>
161
await using (var server = new
TestServer
(async context =>
195
await using (var server = new
TestServer
(async context =>
230
await using (var server = new
TestServer
(async context =>
271
await using (var server = new
TestServer
(async context =>
308
await using (var server = new
TestServer
(async context =>
356
await using (var server = new
TestServer
(async context =>
393
await using var server = new
TestServer
(async context =>
438
await using (var server = new
TestServer
(async context =>
381 references to TestServer
InMemory.FunctionalTests (381)
BadHttpRequestTests.cs (8)
164
await using (
var
server = new TestServer(context =>
212
await using (
var
server = new TestServer(async context =>
237
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))))
259
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))))
343
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) { DiagnosticSource = diagListener }))
390
await using (
var
server = new TestServer(context => context.Request.Body.DrainAsync(default), new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) { DiagnosticSource = diagListener }))
456
await using (
var
server = new TestServer(context => context.Request.Body.DrainAsync(default), new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) { DiagnosticSource = diagListener }))
531
await using (
var
server = new TestServer(context => context.Request.Body.DrainAsync(default), new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) { DiagnosticSource = diagListener }))
ChunkedRequestTests.cs (17)
75
await using (
var
server = new TestServer(App, testContext))
104
await using (
var
server = new TestServer(PipeApp, testContext))
133
await using (
var
server = new TestServer(AppChunked, testContext))
174
await using (
var
server = new TestServer(async httpContext =>
230
await using (
var
server = new TestServer(async httpContext =>
358
await using (
var
server = new TestServer(async httpContext =>
495
await using (
var
server = new TestServer(async context =>
539
await using (
var
server = new TestServer(async context =>
580
await using (
var
server = new TestServer(async httpContext =>
661
await using (
var
server = new TestServer(async httpContext =>
705
await using (
var
server = new TestServer(async httpContext =>
750
await using (
var
server = new TestServer(httpContext =>
861
await using (
var
server = new TestServer(async httpContext =>
911
await using (
var
server = new TestServer(async httpContext =>
967
await using (
var
server = new TestServer(async httpContext =>
1017
await using (
var
server = new TestServer(async httpContext =>
1080
await using (
var
server = new TestServer(async httpContext =>
ChunkedResponseTests.cs (29)
24
await using (
var
server = new TestServer(async httpContext =>
59
await using (
var
server = new TestServer(async httpContext =>
87
await using (
var
server = new TestServer(async httpContext =>
123
await using (
var
server = new TestServer(async httpContext =>
159
await using (
var
server = new TestServer(async httpContext =>
199
await using (
var
server = new TestServer(async httpContext =>
241
await using (
var
server = new TestServer(async httpContext =>
278
await using (
var
server = new TestServer(async httpContext =>
314
await using (
var
server = new TestServer(async httpContext =>
352
await using (
var
server = new TestServer(async httpContext =>
394
await using (
var
server = new TestServer(async httpContext =>
424
await using (
var
server = new TestServer(async httpContext =>
457
await using (
var
server = new TestServer(async httpContext =>
491
await using (
var
server = new TestServer(async httpContext =>
535
await using (
var
server = new TestServer(async httpContext =>
573
await using (
var
server = new TestServer(async httpContext =>
617
await using (
var
server = new TestServer(async httpContext =>
662
await using (
var
server = new TestServer(async httpContext =>
716
await using (
var
server = new TestServer(async httpContext =>
772
await using (
var
server = new TestServer(async httpContext =>
827
await using (
var
server = new TestServer(async httpContext =>
869
await using (
var
server = new TestServer(async httpContext =>
916
await using (
var
server = new TestServer(async httpContext =>
957
await using (
var
server = new TestServer(async httpContext =>
997
await using (
var
server = new TestServer(async httpContext =>
1036
await using (
var
server = new TestServer(async httpContext =>
1073
await using (
var
server = new TestServer(async httpContext =>
1111
await using (
var
server = new TestServer(async httpContext =>
1146
await using (
var
server = new TestServer(async httpContext =>
ConnectionLimitTests.cs (6)
36
await using (
var
server = CreateServerWithMaxConnections(async context =>
57
await using (
var
server = CreateServerWithMaxConnections(async context =>
112
await using (
var
server = CreateServerWithMaxConnections(async context =>
198
await using (
var
server = CreateServerWithMaxConnections(_ => Task.CompletedTask, counter))
226
private
TestServer
CreateServerWithMaxConnections(RequestDelegate app, long max, IMeterFactory meterFactory = null)
233
private
TestServer
CreateServerWithMaxConnections(RequestDelegate app, ResourceCounter concurrentConnectionCounter, IMeterFactory meterFactory = null)
ConnectionMiddlewareTests.cs (10)
50
await using (
var
server = new TestServer(requestDelegate, serviceContext, listenOptions))
74
await using (
var
server = new TestServer(requestDelegate, serviceContext, listenOptions =>
104
await using (
var
server = new TestServer(requestDelegate, serviceContext, listenOptions =>
140
await using (
var
server = new TestServer(requestDelegate, serviceContext, listenOptions))
163
await using (
var
server = new TestServer(requestDelegate, serviceContext, listenOptions))
192
await using (
var
server = new TestServer(requestDelegate, serviceContext, listenOptions))
223
await using (
var
server = new TestServer(TestApp.EchoApp, serviceContext, listenOptions))
252
await using (
var
server = new TestServer(requestDelegate, serviceContext, listenOptions))
276
await using (
var
server = new TestServer(async context =>
307
await using (
var
server = new TestServer(async context =>
DefaultHeaderTests.cs (1)
21
await using (
var
server = new TestServer(ctx => Task.CompletedTask, testContext))
EventSourceTests.cs (4)
41
await using (
var
server = new TestServer(async context =>
149
await using (
var
server = new TestServer(context =>
271
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory),
362
await using (
var
server = new TestServer(context => Task.CompletedTask, serviceContext,
Http2\Http2EndToEndTests.cs (1)
31
await using
var
server = new TestServer(async context =>
Http2\TlsTests.cs (1)
41
await using (
var
server = new TestServer(context =>
HttpProtocolSelectionTests.cs (2)
67
await using (
var
server = new TestServer(context => Task.CompletedTask, testContext, listenOptions))
86
await using (
var
server = new TestServer(context => Task.CompletedTask, testContext, listenOptions))
HttpsConnectionMiddlewareTests.cs (37)
58
await using (
var
server = new TestServer(App, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
92
await using (
var
server = new TestServer(App, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
112
await using (
var
server = new TestServer(context =>
143
await using (
var
server = new TestServer(context =>
181
await using (
var
server = new TestServer(context =>
204
await using (
var
server = new TestServer(App, new TestServiceContext(LoggerFactory), listenOptions =>
230
await using (
var
server = new TestServer(context =>
258
await using (
var
server = new TestServer(context =>
285
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
315
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
348
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
383
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
418
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
452
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
480
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
510
await using (
var
server = new TestServer(context =>
546
await using
var
server = new TestServer(async context =>
590
await using
var
server = new TestServer(async context =>
631
await using
var
server = new TestServer(async context =>
674
await using
var
server = new TestServer(async context =>
722
await using
var
server = new TestServer(async context =>
764
await using
var
server = new TestServer(async context =>
842
await using (
var
server = new TestServer(
891
await using
var
server = new TestServer(async context =>
928
await using
var
server = new TestServer(context => Task.CompletedTask,
961
await using
var
server = new TestServer(context => Task.CompletedTask,
994
await using
var
server = new TestServer(context => Task.CompletedTask,
1027
await using
var
server = new TestServer(async context =>
1074
await using
var
server = new TestServer(async context =>
1118
await using (
var
server = new TestServer(context => context.Response.WriteAsync(context.Request.Scheme), new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1141
await using (
var
server = new TestServer(context => context.Response.WriteAsync("hello world"), new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1179
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1206
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1231
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1256
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1290
await using (
var
server = new TestServer(app, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1389
await using
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions);
HttpsTests.cs (18)
83
await using (
var
server = new TestServer(context => Task.CompletedTask,
175
await using (
var
server = new TestServer(context => Task.CompletedTask,
203
await using (
var
server = new TestServer(context => Task.CompletedTask,
232
await using (
var
server = new TestServer(async httpContext =>
279
await using (
var
server = new TestServer(async httpContext =>
322
await using (
var
server = new TestServer(context => Task.CompletedTask,
348
await using (
var
server = new TestServer(context => Task.CompletedTask,
370
await using (
var
server = new TestServer(context => Task.CompletedTask,
400
await using (
var
server = new TestServer(context => Task.CompletedTask,
441
await using (
var
server = new TestServer(context => Task.CompletedTask,
481
await using (
var
server = new TestServer(context => Task.CompletedTask,
526
await using (
var
server = new TestServer(context => Task.CompletedTask,
562
await using
var
server = new TestServer(context => Task.CompletedTask,
597
await using (
var
server = new TestServer(context => Task.CompletedTask,
643
await using (
var
server = new TestServer(context => Task.CompletedTask,
683
await using (
var
server = new TestServer(context => Task.CompletedTask,
719
await using (
var
server = new TestServer(context => Task.CompletedTask,
755
await using (
var
server = new TestServer(context => Task.CompletedTask,
KeepAliveTimeoutTests.cs (7)
32
await using (
var
server = CreateServer(testContext))
64
await using (
var
server = CreateServer(testContext))
97
await using (
var
server = CreateServer(testContext))
143
await using (
var
server = CreateServer(testContext, longRunningCt: cts.Token))
187
await using (
var
server = CreateServer(testContext))
213
await using (
var
server = CreateServer(testContext, upgradeCt: cts.Token))
247
private
TestServer
CreateServer(TestServiceContext context, CancellationToken longRunningCt = default, CancellationToken upgradeCt = default)
KestrelMetricsTests.cs (14)
69
await using
var
server = new TestServer(EchoApp, serviceContext, listenOptions);
128
await using
var
server = new TestServer(EchoApp, serviceContext, listenOptions);
172
await using
var
server = new TestServer(async context =>
218
var
server = new TestServer(async c =>
284
var
server = new TestServer(async c =>
349
await using
var
server = new TestServer(EchoApp, serviceContext, listenOptions);
405
await using
var
server = new TestServer(async c =>
464
await using
var
server = new TestServer(EchoApp, serviceContext, listenOptions);
504
await using
var
server = new TestServer(UpgradeApp, serviceContext, listenOptions);
539
var
server = new TestServer(async context =>
621
var
server = new TestServer(async context =>
686
await using (
var
server = new TestServer(context =>
773
var
server = new TestServer(
854
await using (
var
server = new TestServer(context =>
LoggingConnectionMiddlewareTests.cs (1)
20
await using (
var
server = new TestServer(context =>
MaxRequestBodySizeTests.cs (13)
31
await using (
var
server = new TestServer(async context =>
73
await using (
var
server = new TestServer(async context =>
120
await using (
var
server = new TestServer(async context =>
169
await using (
var
server = new TestServer(async context =>
211
await using (
var
server = new TestServer(async context =>
251
await using (
var
server = new TestServer(context => context.Request.Body.CopyToAsync(Stream.Null),
288
await using (
var
server = new TestServer(async context =>
328
await using (
var
server = new TestServer(async context =>
373
await using (
var
server = new TestServer(async context =>
421
await using (
var
server = new TestServer(async context =>
468
await using (
var
server = new TestServer(async context =>
513
await using (
var
server = new TestServer(async context =>
586
await using (
var
server = new TestServer(async context =>
MaxRequestLineSizeTests.cs (3)
34
await using (
var
server = CreateServer(limit, testMeterFactory))
65
await using (
var
server = CreateServer(requestLine.Length - 1, testMeterFactory))
83
private
TestServer
CreateServer(int maxRequestLineSize, IMeterFactory meterFactory)
RequestBodyTimeoutTests.cs (3)
30
await using (
var
server = new TestServer(context =>
114
await using (
var
server = new TestServer(context =>
161
await using (
var
server = new TestServer(async context =>
RequestHeaderLimitsTests.cs (5)
32
await using (
var
server = CreateServer(maxRequestHeadersTotalSize: headers.Length + extraLimit, meterFactory: testMeterFactory))
69
await using (
var
server = CreateServer(maxRequestHeaderCount: maxHeaderCount, meterFactory: testMeterFactory))
100
await using (
var
server = CreateServer(maxRequestHeadersTotalSize: headers.Length - 1, meterFactory: testMeterFactory))
129
await using (
var
server = CreateServer(maxRequestHeaderCount: maxHeaderCount, meterFactory: testMeterFactory))
161
private
TestServer
CreateServer(int? maxRequestHeaderCount = null, int? maxRequestHeadersTotalSize = null, IMeterFactory meterFactory = null)
RequestHeadersTimeoutTests.cs (5)
31
await using (
var
server = CreateServer(testContext))
60
await using (
var
server = CreateServer(testContext))
98
await using (
var
server = CreateServer(testContext))
128
await using (
var
server = CreateServer(testContext))
151
private
TestServer
CreateServer(TestServiceContext context)
RequestTargetProcessingTests.cs (3)
22
await using (
var
server = new TestServer(async context =>
67
await using (
var
server = new TestServer(async context =>
99
await using (
var
server = new TestServer(async context =>
RequestTests.cs (57)
30
await using (
var
server = new TestServer(async context =>
61
await using (
var
server = new TestServer(async context =>
82
await using (
var
server = new TestServer(async context =>
116
await using (
var
server = new TestServer(async context =>
182
await using (
var
server = new TestServer(async context =>
235
await using (
var
server = new TestServer(async context =>
287
await using (
var
server = new TestServer(TestApp.EchoAppChunked, testContext))
343
await using
var
server = new TestServer(ExecuteApplication, testContext);
380
await using
var
server = new TestServer(ExecuteApplication, testContext);
414
await using
var
server = new TestServer(ExecuteApplication, testContext);
452
await using
var
server = new TestServer(ExecuteApplication, testContext);
493
await using
var
server = new TestServer(ExecuteApplication, testContext);
536
await using
var
server = new TestServer(ExecuteApplication, testContext);
540
private static async Task TestAsyncLocalValues(TestServiceContext testContext,
TestServer
server)
575
await using (
var
server = new TestServer(async context =>
592
await using (
var
server = new TestServer(async context =>
652
await using (
var
server = new TestServer(TestApp.EchoAppChunked, testContext))
686
await using (
var
server = new TestServer(TestApp.EchoApp, testContext))
725
await using (
var
server = new TestServer(TestApp.EchoAppChunked, testContext))
759
await using (
var
server = new TestServer(TestApp.EchoApp, testContext))
798
await using (
var
server = new TestServer(TestApp.EchoAppChunked, testContext))
854
await using (
var
server = new TestServer(TestApp.EchoAppChunked, testContext))
890
await using (
var
server = new TestServer(TestApp.EchoAppChunked, testContext))
922
await using (
var
server = new TestServer(async httpContext =>
968
await using (
var
server = new TestServer(async httpContext =>
1015
await using (
var
server = new TestServer(async httpContext =>
1047
await using (
var
server = new TestServer(async httpContext =>
1082
await using (
var
server = new TestServer(async httpContext =>
1121
await using (
var
server = new TestServer(async httpContext =>
1181
await using (
var
server = new TestServer(async httpContext =>
1236
await using (
var
server = new TestServer(async httpContext =>
1274
await using (
var
server = new TestServer(TestApp.EchoAppChunked, testContext))
1306
await using (
var
server = new TestServer(httpContext =>
1355
await using (
var
server = new TestServer(async context =>
1396
await using (
var
server = new TestServer(async context =>
1464
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory)))
1482
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory)))
1523
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory)))
1571
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory)))
1597
await using (
var
server = new TestServer(async context =>
1632
await using (
var
server = new TestServer(async context =>
1686
await using (
var
server = new TestServer(async context =>
1737
await using (
var
server = new TestServer(async context =>
1785
await using (
var
server = new TestServer(async context =>
1830
await using (
var
server = new TestServer(async context =>
1869
await using (
var
server = new TestServer(async httpContext =>
1903
await using (
var
server = new TestServer(async httpContext =>
1953
await using (
var
server = new TestServer(async httpContext =>
1998
await using (
var
server = new TestServer(async httpContext =>
2038
await using (
var
server = new TestServer(async httpContext =>
2082
await using (
var
server = new TestServer(context =>
2137
await using (
var
server = new TestServer(context =>
2199
await using (
var
server = new TestServer(context =>
2231
await using (
var
server = new TestServer(_ => Task.CompletedTask, testContext))
2263
await using (
var
server = new TestServer(context =>
2292
await using (
var
server = new TestServer(context =>
2335
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory, disableHttp1LineFeedTerminators: false)))
ResponseDrainingTests.cs (1)
28
await using (
var
server = new TestServer(context =>
ResponseHeaderTests.cs (4)
21
await using
var
server = new TestServer(context =>
52
await using
var
server = new TestServer(context =>
89
await using
var
server = new TestServer(context =>
110
await using
var
server = new TestServer(context =>
ResponseTests.cs (118)
41
await using (
var
server = new TestServer(context =>
79
await using (
var
server = new TestServer(async context =>
114
await using (
var
server = new TestServer(async context =>
152
await using (
var
server = new TestServer(async context =>
217
await using
var
server = new TestServer(async context =>
246
await using
var
server = new TestServer(async context =>
375
await using (
var
server = new TestServer(async context =>
407
await using (
var
server = new TestServer(async context =>
444
await using (
var
server = new TestServer(httpContext =>
482
await using (
var
server = new TestServer(async httpContext =>
518
await using (
var
server = new TestServer(async httpContext =>
552
await using (
var
server = new TestServer(httpContext =>
577
await using (
var
server = new TestServer(httpContext =>
677
await using (
var
server = new TestServer(async httpContext =>
715
await using (
var
server = new TestServer(async httpContext =>
755
await using (
var
server = new TestServer(async httpContext =>
794
await using (
var
server = new TestServer(async httpContext =>
836
await using (
var
server = new TestServer(async httpContext =>
877
await using (
var
server = new TestServer(httpContext =>
913
await using (
var
server = new TestServer(async httpContext =>
957
await using (
var
server = new TestServer(async httpContext =>
998
await using (
var
server = new TestServer(async httpContext =>
1037
await using (
var
server = new TestServer(async httpContext =>
1072
await using (
var
server = new TestServer(async httpContext =>
1115
await using (
var
server = new TestServer(async httpContext =>
1169
await using (
var
server = new TestServer(async httpContext =>
1218
await using (
var
server = new TestServer(async httpContext =>
1265
await using (
var
server = new TestServer(httpContext =>
1306
await using (
var
server = new TestServer(async httpContext =>
1344
await using (
var
server = new TestServer(async httpContext =>
1380
await using (
var
server = new TestServer(async httpContext =>
1410
await using (
var
server = new TestServer(httpContext =>
1438
await using (
var
server = new TestServer(async httpContext =>
1471
await using (
var
server = new TestServer(async httpContext =>
1502
await using (
var
server = new TestServer(async httpContext =>
1537
await using (
var
server = new TestServer(async httpContext =>
1577
await using (
var
server = new TestServer(async httpContext =>
1622
await using (
var
server = new TestServer(async httpContext =>
1668
await using (
var
server = new TestServer(async httpContext =>
1711
await using (
var
server = new TestServer(async httpContext =>
1753
await using (
var
server = new TestServer(async httpContext =>
1795
await using (
var
server = new TestServer(async httpContext =>
1840
await using (
var
server = new TestServer(async httpContext =>
1883
await using (
var
server = new TestServer(httpContext =>
1923
await using (
var
server = new TestServer(async httpContext =>
1966
await using (
var
server = new TestServer(async httpContext =>
2003
await using (
var
server = new TestServer(httpContext => Task.CompletedTask,
2037
await using (
var
server = new TestServer(httpContext =>
2107
await using (
var
server = new TestServer(httpContext =>
2153
await using (
var
server = new TestServer(async httpContext =>
2202
await using (
var
server = new TestServer(TestApp.EchoApp, serviceContext))
2226
await using (
var
server = new TestServer(TestApp.EmptyApp, testContext))
2258
await using (
var
server = new TestServer(async httpContext =>
2302
await using (
var
server = new TestServer(TestApp.EmptyApp, testContext))
2325
await using (
var
server = new TestServer(async httpContext =>
2374
await using (
var
server = new TestServer(async httpContext =>
2424
await using (
var
server = new TestServer(httpContext =>
2477
await using (
var
server = new TestServer(async httpContext =>
2533
await using (
var
server = new TestServer(async httpContext =>
2578
await using (
var
server = new TestServer(async httpContext =>
2628
await using (
var
server = new TestServer(async httpContext =>
2680
await using (
var
server = new TestServer(async httpContext =>
2725
await using (
var
server = new TestServer(async httpContext =>
2766
await using (
var
server = new TestServer(async httpContext =>
2797
await using (
var
server = new TestServer(httpContext =>
2822
await using (
var
server = new TestServer(httpContext =>
2851
await using (
var
server = new TestServer(async httpContext =>
2885
await using (
var
server = new TestServer(httpContext =>
2932
await using (
var
server = new TestServer(async httpContext =>
2961
await using (
var
server = new TestServer(async httpContext =>
2989
await using (
var
server = new TestServer(async httpContext =>
3019
await using (
var
server = new TestServer(async httpContext =>
3051
await using (
var
server = new TestServer(async httpContext =>
3081
await using (
var
server = new TestServer(async httpContext =>
3109
await using (
var
server = new TestServer(async httpContext =>
3140
await using (
var
server = new TestServer(async httpContext =>
3176
await using (
var
server = new TestServer(async httpContext =>
3207
await using (
var
server = new TestServer(async httpContext =>
3253
await using (
var
server = new TestServer(httpContext =>
3285
await using (
var
server = new TestServer(async httpContext =>
3321
await using (
var
server = new TestServer(async context =>
3372
await using (
var
server = new TestServer(async context =>
3416
await using (
var
server = new TestServer(async context =>
3446
await using (
var
server = new TestServer(context =>
3477
await using (
var
server = new TestServer(context =>
3512
await using (
var
server = new TestServer(context =>
3546
await using (
var
server = new TestServer(httpContext =>
3577
await using (
var
server = new TestServer(async httpContext =>
3610
await using (
var
server = new TestServer(httpContext =>
3640
await using (
var
server = new TestServer(httpContext =>
3672
await using (
var
server = new TestServer(httpContext =>
3710
await using (
var
server = new TestServer(async httpContext =>
3747
await using (
var
server = new TestServer(async httpContext =>
3773
await using (
var
server = new TestServer(async httpContext =>
3815
await using (
var
server = new TestServer(async httpContext =>
3843
await using (
var
server = new TestServer(async httpContext =>
3874
await using
var
server = new TestServer(async httpContext =>
3907
await using (
var
server = new TestServer(async httpContext =>
3958
await using (
var
server = new TestServer(async httpContext =>
4008
await using (
var
server = new TestServer(async httpContext =>
4069
await using (
var
server = new TestServer(httpContext =>
4114
await using (
var
server = new TestServer(async httpContext =>
4142
await using (
var
server = new TestServer(async httpContext =>
4174
await using (
var
server = new TestServer(async httpContext =>
4203
await using (
var
server = new TestServer(async httpContext =>
4238
await using (
var
server = new TestServer(async httpContext =>
4272
await using (
var
server = new TestServer(httpContext =>
4303
await using (
var
server = new TestServer(async httpContext =>
4335
await using (
var
server = new TestServer(async httpContext =>
4368
await using (
var
server = new TestServer(
4405
await using (
var
server = new TestServer(
4442
await using (
var
server = new TestServer(
4475
await using (
var
server = new TestServer(
4500
await using (
var
server = new TestServer(
4540
await using (
var
server = new TestServer(
4574
await using
var
server = new TestServer(async context =>
4624
await using
var
server = new TestServer(async context =>
4695
await using (
var
server = new TestServer(handler, new TestServiceContext(loggerFactory),
TestTransport\InMemoryHttpClientSlim.cs (2)
22
private readonly
TestServer
_inMemoryTestServer;
24
public InMemoryHttpClientSlim(
TestServer
testServer)
UpgradeTests.cs (11)
26
await using (
var
server = new TestServer(async context =>
69
await using (
var
server = new TestServer(async context =>
121
await using (
var
server = new TestServer(async context =>
161
await using (
var
server = new TestServer(async context =>
195
await using (
var
server = new TestServer(async context =>
230
await using (
var
server = new TestServer(async context =>
271
await using (
var
server = new TestServer(async context =>
308
await using (
var
server = new TestServer(async context =>
356
await using (
var
server = new TestServer(async context =>
393
await using
var
server = new TestServer(async context =>
438
await using (
var
server = new TestServer(async context =>