23 references to TestContextFactory
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (23)
HeaderCollectionBenchmark.cs (2)
331var serviceContext = TestContextFactory.CreateServiceContext( 336var connectionContext = TestContextFactory.CreateHttpConnectionContext(
Http1ConnectionBenchmark.cs (2)
34var serviceContext = TestContextFactory.CreateServiceContext( 38var connectionContext = TestContextFactory.CreateHttpConnectionContext(
Http1ConnectionParsingOverheadBenchmark.cs (2)
30var serviceContext = TestContextFactory.CreateServiceContext( 34var connectionContext = TestContextFactory.CreateHttpConnectionContext(
Http1LargeWritingBenchmark.cs (2)
71var serviceContext = TestContextFactory.CreateServiceContext( 76var connectionContext = TestContextFactory.CreateHttpConnectionContext(
Http1ReadingBenchmark.cs (2)
100var serviceContext = TestContextFactory.CreateServiceContext( 105var connectionContext = TestContextFactory.CreateHttpConnectionContext(
Http1WritingBenchmark.cs (2)
105var serviceContext = TestContextFactory.CreateServiceContext( 110var connectionContext = TestContextFactory.CreateHttpConnectionContext(
Http2\Http2ConnectionBenchmarkBase.cs (2)
71var serviceContext = TestContextFactory.CreateServiceContext( 81var connectionContext = TestContextFactory.CreateHttpConnectionContext(
Http2\Http2FrameWriterBenchmark.cs (1)
32var serviceContext = TestContextFactory.CreateServiceContext(
Http3\Http3ConnectionBenchmarkBase.cs (1)
46var serviceContext = TestContextFactory.CreateServiceContext(
HttpProtocolFeatureCollection.cs (2)
233var serviceContext = TestContextFactory.CreateServiceContext( 238var connectionContext = TestContextFactory.CreateHttpConnectionContext(
RequestParsingBenchmark.cs (2)
31var serviceContext = TestContextFactory.CreateServiceContext( 36var connectionContext = TestContextFactory.CreateHttpConnectionContext(
ResponseHeaderCollectionBenchmark.cs (2)
179var serviceContext = TestContextFactory.CreateServiceContext( 184var connectionContext = TestContextFactory.CreateHttpConnectionContext(
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
1017MetricsContext = TestContextFactory.CreateMetricsContext(this);