35 instantiations of TestServiceContext
Sockets.FunctionalTests (35)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
37
: this(app, new
TestServiceContext
())
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 (14)
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)))
441
}, new
TestServiceContext
(LoggerFactory));
489
await using (var server = new TestServer(context => Task.CompletedTask, new
TestServiceContext
(LoggerFactory)))
562
new
TestServiceContext
(LoggerFactory)))
718
}, new
TestServiceContext
(LoggerFactory)))
796
var testContext = new
TestServiceContext
(LoggerFactory);
831
var testContext = new
TestServiceContext
(LoggerFactory);
867
var testContext = new
TestServiceContext
(LoggerFactory);
911
var testContext = new
TestServiceContext
(LoggerFactory);
1033
var testContext = new
TestServiceContext
(LoggerFactory)
1111
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)
379
}, new
TestServiceContext
(LoggerFactory), listenOptions))
434
var testServiceContext = new
TestServiceContext
(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory));
508
var testContext = new
TestServiceContext
(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))
642
var testContext = new
TestServiceContext
(LoggerFactory)
763
var testContext = new
TestServiceContext
(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))
862
var testContext = new
TestServiceContext
(LoggerFactory)
939
var testContext = new
TestServiceContext
(LoggerFactory)
1026
var testContext = new
TestServiceContext
(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))
26 references to TestServiceContext
Sockets.FunctionalTests (26)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (6)
41
public TestServer(RequestDelegate app,
TestServiceContext
context)
46
public TestServer(RequestDelegate app,
TestServiceContext
context, ListenOptions listenOptions)
51
public TestServer(RequestDelegate app,
TestServiceContext
context, Action<ListenOptions> configureListenOptions, Action<IServiceCollection> configureServices = null)
67
public TestServer(RequestDelegate app,
TestServiceContext
context, Action<KestrelServerOptions> configureKestrel)
72
public TestServer(RequestDelegate app,
TestServiceContext
context, Action<KestrelServerOptions> configureKestrel, Action<IServiceCollection> configureServices)
127
public
TestServiceContext
Context { get; }
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\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\RequestTests.cs (6)
796
var
testContext = new TestServiceContext(LoggerFactory);
831
var
testContext = new TestServiceContext(LoggerFactory);
867
var
testContext = new TestServiceContext(LoggerFactory);
911
var
testContext = new TestServiceContext(LoggerFactory);
1033
var
testContext = new TestServiceContext(LoggerFactory)
1111
var
testContext = new TestServiceContext(LoggerFactory);
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (9)
206
var
testServiceContext = new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory));
284
var
testContext = new TestServiceContext(LoggerFactory)
434
var
testServiceContext = new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory));
508
var
testContext = new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))
642
var
testContext = new TestServiceContext(LoggerFactory)
763
var
testContext = new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))
862
var
testContext = new TestServiceContext(LoggerFactory)
939
var
testContext = new TestServiceContext(LoggerFactory)
1026
var
testContext = new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(testMeterFactory))