8 references to CreateMetricsContext
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (8)
ConnectionDispatcherTests.cs (1)
123
id: 0, serviceContext, transportConnectionManager, connectionDelegate, connection, serviceContext.Log, TestContextFactory.
CreateMetricsContext
(connection));
Http1\Http1ConnectionTestsBase.cs (1)
42
var metricsContext = TestContextFactory.
CreateMetricsContext
(connectionContext);
Http1\Http1HttpProtocolFeatureCollectionTests.cs (1)
30
var metricsContext = TestContextFactory.
CreateMetricsContext
(connectionContext);
HttpConnectionManagerTests.cs (1)
49
var httpConnection = new KestrelConnection<ConnectionContext>(0, serviceContext, transportConnectionManager, _ => Task.CompletedTask, mock.Object, trace, TestContextFactory.
CreateMetricsContext
(mock.Object));
HttpResponseHeadersTests.cs (1)
30
var metricsContext = TestContextFactory.
CreateMetricsContext
(connectionContext);
src\Servers\Kestrel\shared\test\TestContextFactory.cs (2)
69
metricsContext ??
CreateMetricsContext
(connectionContext));
170
metricsContext:
CreateMetricsContext
(connectionContext)
TestHelpers\TestInput.cs (1)
34
var metricsContext = TestContextFactory.
CreateMetricsContext
(connectionContext);