23 references to TestContextFactory
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (23)
AddressBinderTests.cs (6)
162
var addressBindContext =
TestContextFactory
.CreateAddressBindContext(
184
var addressBindContext =
TestContextFactory
.CreateAddressBindContext(
210
var addressBindContext =
TestContextFactory
.CreateAddressBindContext(
233
var addressBindContext =
TestContextFactory
.CreateAddressBindContext(
261
var addressBindContext =
TestContextFactory
.CreateAddressBindContext(
302
var addressBindContext =
TestContextFactory
.CreateAddressBindContext(
ConnectionDispatcherTests.cs (1)
123
id: 0, serviceContext, transportConnectionManager, connectionDelegate, connection, serviceContext.Log,
TestContextFactory
.CreateMetricsContext(connection));
Http1\Http1ConnectionTestsBase.cs (2)
42
var metricsContext =
TestContextFactory
.CreateMetricsContext(connectionContext);
54
_http1ConnectionContext =
TestContextFactory
.CreateHttpConnectionContext(
Http1\Http1HttpProtocolFeatureCollectionTests.cs (2)
30
var metricsContext =
TestContextFactory
.CreateMetricsContext(connectionContext);
35
var context =
TestContextFactory
.CreateHttpConnectionContext(
Http2\Http2FrameWriterTests.cs (1)
52
var serviceContext =
TestContextFactory
.CreateServiceContext(new KestrelServerOptions());
Http2\Http2HttpProtocolFeatureCollectionTests.cs (1)
23
var context =
TestContextFactory
.CreateHttp2StreamContext(
Http3\Http3HttpProtocolFeatureCollectionTests.cs (1)
23
var streamContext =
TestContextFactory
.CreateHttp3StreamContext(
HttpConnectionManagerTests.cs (1)
49
var httpConnection = new KestrelConnection<ConnectionContext>(0, serviceContext, transportConnectionManager, _ => Task.CompletedTask, mock.Object, trace,
TestContextFactory
.CreateMetricsContext(mock.Object));
HttpConnectionTests.cs (1)
24
var httpConnectionContext =
TestContextFactory
.CreateHttpConnectionContext(
HttpResponseHeadersTests.cs (2)
30
var metricsContext =
TestContextFactory
.CreateMetricsContext(connectionContext);
35
var http1ConnectionContext =
TestContextFactory
.CreateHttpConnectionContext(
PooledStreamStackTests.cs (1)
99
var context =
TestContextFactory
.CreateHttp2StreamContext(connectionId: "TestConnectionId", streamId: streamId);
StartLineTests.cs (2)
524
var serviceContext =
TestContextFactory
.CreateServiceContext(
529
var connectionContext =
TestContextFactory
.CreateHttpConnectionContext(
TestHelpers\TestInput.cs (2)
34
var metricsContext =
TestContextFactory
.CreateMetricsContext(connectionContext);
40
Http1ConnectionContext =
TestContextFactory
.CreateHttpConnectionContext(