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