342 instantiations of TestServer
InMemory.FunctionalTests (342)
BadHttpRequestTests.cs (8)
167
await using (var server = new
TestServer
(context =>
215
await using (var server = new
TestServer
(async context =>
240
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))))
262
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))))
346
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) { DiagnosticSource = diagListener }))
393
await using (var server = new
TestServer
(context => context.Request.Body.DrainAsync(default), new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) { DiagnosticSource = diagListener }))
459
await using (var server = new
TestServer
(context => context.Request.Body.DrainAsync(default), new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) { DiagnosticSource = diagListener }))
534
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 =>
183
await using (var server = new
TestServer
(context =>
208
await using (var server = new
TestServer
(App, new TestServiceContext(LoggerFactory), listenOptions =>
234
await using (var server = new
TestServer
(context =>
262
await using (var server = new
TestServer
(context =>
289
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
319
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
352
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
387
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
422
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
456
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
484
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
514
await using (var server = new
TestServer
(context =>
550
await using var server = new
TestServer
(async context =>
594
await using var server = new
TestServer
(async context =>
635
await using var server = new
TestServer
(async context =>
678
await using var server = new
TestServer
(async context =>
726
await using var server = new
TestServer
(async context =>
768
await using var server = new
TestServer
(async context =>
846
await using (var server = new
TestServer
(
895
await using var server = new
TestServer
(async context =>
932
await using var server = new
TestServer
(context => Task.CompletedTask,
965
await using var server = new
TestServer
(context => Task.CompletedTask,
998
await using var server = new
TestServer
(context => Task.CompletedTask,
1031
await using var server = new
TestServer
(async context =>
1078
await using var server = new
TestServer
(async context =>
1122
await using (var server = new
TestServer
(context => context.Response.WriteAsync(context.Request.Scheme), new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1145
await using (var server = new
TestServer
(context => context.Response.WriteAsync("hello world"), new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1183
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1210
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1235
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1260
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1294
await using (var server = new
TestServer
(app, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1393
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);
217
var server = new
TestServer
(async c =>
283
var server = new
TestServer
(async c =>
348
await using var server = new
TestServer
(EchoApp, serviceContext, listenOptions);
403
await using var server = new
TestServer
(async c =>
462
await using var server = new
TestServer
(EchoApp, serviceContext, listenOptions);
502
await using var server = new
TestServer
(UpgradeApp, serviceContext, listenOptions);
537
var server = new
TestServer
(async context =>
619
var server = new
TestServer
(async context =>
684
await using (var server = new
TestServer
(context =>
771
var server = new
TestServer
(
852
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)
167
await using (
var
server = new TestServer(context =>
215
await using (
var
server = new TestServer(async context =>
240
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))))
262
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))))
346
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) { DiagnosticSource = diagListener }))
393
await using (
var
server = new TestServer(context => context.Request.Body.DrainAsync(default), new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) { DiagnosticSource = diagListener }))
459
await using (
var
server = new TestServer(context => context.Request.Body.DrainAsync(default), new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) { DiagnosticSource = diagListener }))
534
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 =>
183
await using (
var
server = new TestServer(context =>
208
await using (
var
server = new TestServer(App, new TestServiceContext(LoggerFactory), listenOptions =>
234
await using (
var
server = new TestServer(context =>
262
await using (
var
server = new TestServer(context =>
289
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
319
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
352
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
387
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
422
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
456
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
484
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
514
await using (
var
server = new TestServer(context =>
550
await using
var
server = new TestServer(async context =>
594
await using
var
server = new TestServer(async context =>
635
await using
var
server = new TestServer(async context =>
678
await using
var
server = new TestServer(async context =>
726
await using
var
server = new TestServer(async context =>
768
await using
var
server = new TestServer(async context =>
846
await using (
var
server = new TestServer(
895
await using
var
server = new TestServer(async context =>
932
await using
var
server = new TestServer(context => Task.CompletedTask,
965
await using
var
server = new TestServer(context => Task.CompletedTask,
998
await using
var
server = new TestServer(context => Task.CompletedTask,
1031
await using
var
server = new TestServer(async context =>
1078
await using
var
server = new TestServer(async context =>
1122
await using (
var
server = new TestServer(context => context.Response.WriteAsync(context.Request.Scheme), new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1145
await using (
var
server = new TestServer(context => context.Response.WriteAsync("hello world"), new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1183
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1210
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1235
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1260
await using (
var
server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1294
await using (
var
server = new TestServer(app, new TestServiceContext(LoggerFactory), ConfigureListenOptions))
1393
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);
171
await using
var
server = new TestServer(async context =>
217
var
server = new TestServer(async c =>
283
var
server = new TestServer(async c =>
348
await using
var
server = new TestServer(EchoApp, serviceContext, listenOptions);
403
await using
var
server = new TestServer(async c =>
462
await using
var
server = new TestServer(EchoApp, serviceContext, listenOptions);
502
await using
var
server = new TestServer(UpgradeApp, serviceContext, listenOptions);
537
var
server = new TestServer(async context =>
619
var
server = new TestServer(async context =>
684
await using (
var
server = new TestServer(context =>
771
var
server = new TestServer(
852
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 =>