34 references to TestServiceContext
Sockets.FunctionalTests (34)
src\Servers\Kestrel\shared\test\TestServiceContext.cs (1)
18
public TestServiceContext() :
this
(disableHttp1LineFeedTerminators: true)
src\Servers\Kestrel\test\FunctionalTests\ConnectionMiddlewareTests.cs (2)
24
var serviceContext = new
TestServiceContext
(LoggerFactory);
66
var 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)
67
var testContext = new
TestServiceContext
(LoggerFactory);
122
var testContext = new
TestServiceContext
(LoggerFactory);
169
var testContext = new
TestServiceContext
(LoggerFactory)
src\Servers\Kestrel\test\FunctionalTests\ListenHandleTests.cs (1)
36
await using (var server = new TestServer(_ => Task.CompletedTask, new
TestServiceContext
(LoggerFactory),
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (13)
210
}, new
TestServiceContext
(LoggerFactory)))
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)))
500
new
TestServiceContext
(LoggerFactory)))
656
}, new
TestServiceContext
(LoggerFactory)))
734
var testContext = new
TestServiceContext
(LoggerFactory);
769
var testContext = new
TestServiceContext
(LoggerFactory);
805
var testContext = new
TestServiceContext
(LoggerFactory);
849
var testContext = new
TestServiceContext
(LoggerFactory);
971
var testContext = new
TestServiceContext
(LoggerFactory)
1049
var testContext = new
TestServiceContext
(LoggerFactory);
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (11)
168
}, new
TestServiceContext
(LoggerFactory), listenOptions))
206
var testServiceContext = new
TestServiceContext
(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory));
284
var testContext = new
TestServiceContext
(LoggerFactory)
378
}, new
TestServiceContext
(LoggerFactory), listenOptions))
433
var testServiceContext = new
TestServiceContext
(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory));
507
var testContext = new
TestServiceContext
(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))
641
var testContext = new
TestServiceContext
(LoggerFactory)
762
var testContext = new
TestServiceContext
(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))
861
var testContext = new
TestServiceContext
(LoggerFactory)
938
var testContext = new
TestServiceContext
(LoggerFactory)
1025
var testContext = new
TestServiceContext
(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))