8 references to TestServer
Sockets.FunctionalTests (8)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
37
:
this
(app, new TestServiceContext())
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (7)
200
await using (var server = new
TestServer
(async context =>
271
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory)))
323
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory)))
368
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory)))
427
await using (var server = new
TestServer
(context => Task.CompletedTask, new TestServiceContext(LoggerFactory)))
495
await using (var server = new
TestServer
(async context =>
638
await using (var server = new
TestServer
(async context =>