35 references to TestServiceContext
Sockets.FunctionalTests (35)
src\Servers\Kestrel\shared\test\TestServiceContext.cs (1)
18public TestServiceContext() : this(disableHttp1LineFeedTerminators: true)
src\Servers\Kestrel\test\FunctionalTests\ConnectionMiddlewareTests.cs (2)
24var serviceContext = new TestServiceContext(LoggerFactory); 66var serviceContext = new TestServiceContext(LoggerFactory);
src\Servers\Kestrel\test\FunctionalTests\Http2\HandshakeTests.cs (3)
51}, new TestServiceContext(LoggerFactory), 77}, new TestServiceContext(LoggerFactory), 105}, new TestServiceContext(LoggerFactory),
src\Servers\Kestrel\test\FunctionalTests\Http2\ShutdownTests.cs (3)
67var testContext = new TestServiceContext(LoggerFactory); 122var testContext = new TestServiceContext(LoggerFactory); 169var testContext = new TestServiceContext(LoggerFactory)
src\Servers\Kestrel\test\FunctionalTests\ListenHandleTests.cs (1)
36await using (var server = new TestServer(_ => Task.CompletedTask, new TestServiceContext(LoggerFactory),
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (14)
210}, new TestServiceContext(LoggerFactory))) 271await using (var server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory))) 323await using (var server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory))) 368await using (var server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory))) 441}, new TestServiceContext(LoggerFactory)); 489await using (var server = new TestServer(context => Task.CompletedTask, new TestServiceContext(LoggerFactory))) 562new TestServiceContext(LoggerFactory))) 718}, new TestServiceContext(LoggerFactory))) 796var testContext = new TestServiceContext(LoggerFactory); 831var testContext = new TestServiceContext(LoggerFactory); 867var testContext = new TestServiceContext(LoggerFactory); 911var testContext = new TestServiceContext(LoggerFactory); 1033var testContext = new TestServiceContext(LoggerFactory) 1111var testContext = new TestServiceContext(LoggerFactory);
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (11)
168}, new TestServiceContext(LoggerFactory), listenOptions)) 206var testServiceContext = new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)); 284var testContext = new TestServiceContext(LoggerFactory) 379}, new TestServiceContext(LoggerFactory), listenOptions)) 434var testServiceContext = new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)); 508var testContext = new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) 642var testContext = new TestServiceContext(LoggerFactory) 763var testContext = new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory)) 862var testContext = new TestServiceContext(LoggerFactory) 939var testContext = new TestServiceContext(LoggerFactory) 1026var testContext = new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))