65 instantiations of TestMeterFactory
InMemory.FunctionalTests (65)
BadHttpRequestTests.cs (7)
163var testMeterFactory = new TestMeterFactory(); 237var testMeterFactory = new TestMeterFactory(); 259var testMeterFactory = new TestMeterFactory(); 343var testMeterFactory = new TestMeterFactory(); 390var testMeterFactory = new TestMeterFactory(); 456var testMeterFactory = new TestMeterFactory(); 531var testMeterFactory = new TestMeterFactory();
ChunkedRequestTests.cs (1)
852var testMeterFactory = new TestMeterFactory();
ConnectionLimitTests.cs (3)
105var testMeterFactory = new TestMeterFactory(); 228var serviceContext = new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(meterFactory ?? new TestMeterFactory())); 235var serviceContext = new TestServiceContext(LoggerFactory, metrics: new KestrelMetrics(meterFactory ?? new TestMeterFactory()));
ConnectionMiddlewareTests.cs (1)
155var testMeterFactory = new TestMeterFactory();
Http2\TlsTests.cs (1)
38var testMeterFactory = new TestMeterFactory();
HttpsConnectionMiddlewareTests.cs (3)
45.AddSingleton(new KestrelMetrics(new TestMeterFactory())) 1480return new HttpsConnectionMiddleware(context => Task.CompletedTask, options, httpProtocols, loggerFactory, new KestrelMetrics(new TestMeterFactory())); 1485return new HttpsConnectionMiddleware(context => Task.CompletedTask, options, httpProtocols, new KestrelMetrics(new TestMeterFactory()));
HttpsTests.cs (1)
42.AddSingleton(new KestrelMetrics(new TestMeterFactory()))
KeepAliveTimeoutTests.cs (6)
27var testMeterFactory = new TestMeterFactory(); 59var testMeterFactory = new TestMeterFactory(); 92var testMeterFactory = new TestMeterFactory(); 137var testMeterFactory = new TestMeterFactory(); 182var testMeterFactory = new TestMeterFactory(); 207var testMeterFactory = new TestMeterFactory();
KestrelMetricsTests.cs (14)
60var testMeterFactory = new TestMeterFactory(); 123var testMeterFactory = new TestMeterFactory(); 164var testMeterFactory = new TestMeterFactory(); 206var testMeterFactory = new TestMeterFactory(); 271var testMeterFactory = new TestMeterFactory(); 339var testMeterFactory = new TestMeterFactory(); 395var testMeterFactory = new TestMeterFactory(); 453var testMeterFactory = new TestMeterFactory(); 495var testMeterFactory = new TestMeterFactory(); 532var testMeterFactory = new TestMeterFactory(); 609var testMeterFactory = new TestMeterFactory(); 676var testMeterFactory = new TestMeterFactory(); 768var testMeterFactory = new TestMeterFactory(); 848var testMeterFactory = new TestMeterFactory();
MaxRequestBodySizeTests.cs (2)
112var testMeterFactory = new TestMeterFactory(); 365var testMeterFactory = new TestMeterFactory();
MaxRequestLineSizeTests.cs (2)
31var testMeterFactory = new TestMeterFactory(); 62var testMeterFactory = new TestMeterFactory();
RequestBodyTimeoutTests.cs (3)
22var testMeterFactory = new TestMeterFactory(); 99var testMeterFactory = new TestMeterFactory(); 152var testMeterFactory = new TestMeterFactory();
RequestHeaderLimitsTests.cs (4)
27var testMeterFactory = new TestMeterFactory(); 64var testMeterFactory = new TestMeterFactory(); 95var testMeterFactory = new TestMeterFactory(); 124var testMeterFactory = new TestMeterFactory();
RequestHeadersTimeoutTests.cs (4)
26var testMeterFactory = new TestMeterFactory(); 55var testMeterFactory = new TestMeterFactory(); 93var testMeterFactory = new TestMeterFactory(); 120var testMeterFactory = new TestMeterFactory();
RequestTests.cs (2)
1156var testMeterFactory = new TestMeterFactory(); 2258var testMeterFactory = new TestMeterFactory();
ResponseTests.cs (9)
144var testMeterFactory = new TestMeterFactory(); 672var testMeterFactory = new TestMeterFactory(); 949var testMeterFactory = new TestMeterFactory(); 994var testMeterFactory = new TestMeterFactory(); 2418var testMeterFactory = new TestMeterFactory(); 2621var testMeterFactory = new TestMeterFactory(); 2674var testMeterFactory = new TestMeterFactory(); 2719var testMeterFactory = new TestMeterFactory(); 2818var testMeterFactory = new TestMeterFactory();
src\Servers\Kestrel\shared\test\TestContextFactory.cs (1)
42Metrics = new KestrelMetrics(new TestMeterFactory())
src\Servers\Kestrel\shared\test\TestServiceContext.cs (1)
26metrics ??= new KestrelMetrics(new TestMeterFactory());
57 references to TestMeterFactory
InMemory.FunctionalTests (57)
BadHttpRequestTests.cs (7)
163var testMeterFactory = new TestMeterFactory(); 237var testMeterFactory = new TestMeterFactory(); 259var testMeterFactory = new TestMeterFactory(); 343var testMeterFactory = new TestMeterFactory(); 390var testMeterFactory = new TestMeterFactory(); 456var testMeterFactory = new TestMeterFactory(); 531var testMeterFactory = new TestMeterFactory();
ChunkedRequestTests.cs (1)
852var testMeterFactory = new TestMeterFactory();
ConnectionLimitTests.cs (1)
105var testMeterFactory = new TestMeterFactory();
ConnectionMiddlewareTests.cs (1)
155var testMeterFactory = new TestMeterFactory();
Http2\TlsTests.cs (1)
38var testMeterFactory = new TestMeterFactory();
KeepAliveTimeoutTests.cs (6)
27var testMeterFactory = new TestMeterFactory(); 59var testMeterFactory = new TestMeterFactory(); 92var testMeterFactory = new TestMeterFactory(); 137var testMeterFactory = new TestMeterFactory(); 182var testMeterFactory = new TestMeterFactory(); 207var testMeterFactory = new TestMeterFactory();
KestrelMetricsTests.cs (14)
60var testMeterFactory = new TestMeterFactory(); 123var testMeterFactory = new TestMeterFactory(); 164var testMeterFactory = new TestMeterFactory(); 206var testMeterFactory = new TestMeterFactory(); 271var testMeterFactory = new TestMeterFactory(); 339var testMeterFactory = new TestMeterFactory(); 395var testMeterFactory = new TestMeterFactory(); 453var testMeterFactory = new TestMeterFactory(); 495var testMeterFactory = new TestMeterFactory(); 532var testMeterFactory = new TestMeterFactory(); 609var testMeterFactory = new TestMeterFactory(); 676var testMeterFactory = new TestMeterFactory(); 768var testMeterFactory = new TestMeterFactory(); 848var testMeterFactory = new TestMeterFactory();
MaxRequestBodySizeTests.cs (2)
112var testMeterFactory = new TestMeterFactory(); 365var testMeterFactory = new TestMeterFactory();
MaxRequestLineSizeTests.cs (2)
31var testMeterFactory = new TestMeterFactory(); 62var testMeterFactory = new TestMeterFactory();
RequestBodyTimeoutTests.cs (3)
22var testMeterFactory = new TestMeterFactory(); 99var testMeterFactory = new TestMeterFactory(); 152var testMeterFactory = new TestMeterFactory();
RequestHeaderLimitsTests.cs (4)
27var testMeterFactory = new TestMeterFactory(); 64var testMeterFactory = new TestMeterFactory(); 95var testMeterFactory = new TestMeterFactory(); 124var testMeterFactory = new TestMeterFactory();
RequestHeadersTimeoutTests.cs (4)
26var testMeterFactory = new TestMeterFactory(); 55var testMeterFactory = new TestMeterFactory(); 93var testMeterFactory = new TestMeterFactory(); 120var testMeterFactory = new TestMeterFactory();
RequestTests.cs (2)
1156var testMeterFactory = new TestMeterFactory(); 2258var testMeterFactory = new TestMeterFactory();
ResponseTests.cs (9)
144var testMeterFactory = new TestMeterFactory(); 672var testMeterFactory = new TestMeterFactory(); 949var testMeterFactory = new TestMeterFactory(); 994var testMeterFactory = new TestMeterFactory(); 2418var testMeterFactory = new TestMeterFactory(); 2621var testMeterFactory = new TestMeterFactory(); 2674var testMeterFactory = new TestMeterFactory(); 2719var testMeterFactory = new TestMeterFactory(); 2818var testMeterFactory = new TestMeterFactory();