22 references to GetFakeLogCollector
Aspire.Hosting.Containers.Tests (1)
WithDockerfileTests.cs (1)
78var collector = app.Services.GetFakeLogCollector();
Aspire.Hosting.Tests (2)
Codespaces\CodespacesUrlRewriterTests.cs (1)
37var collector = app.Services.GetFakeLogCollector();
HealthCheckTests.cs (1)
124var collector = app.Services.GetFakeLogCollector();
Aspire.Playground.Tests (1)
Infrastructure\DistributedApplicationExtensions.cs (1)
114var logCollector = app.Services.GetFakeLogCollector();
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Logging\AcceptanceTests.cs (1)
127var logCollector = host.Services.GetFakeLogCollector();
Microsoft.Extensions.Diagnostics.Testing.Tests (4)
Logging\FakeLoggerExtensionsTests.cs (4)
23var collector = serviceProvider.GetFakeLogCollector(); 39var collector = serviceProvider.GetFakeLogCollector(); 67var collector = serviceProvider.GetFakeLogCollector(); 85Assert.Throws<InvalidOperationException>(() => serviceProvider.GetFakeLogCollector());
Microsoft.Extensions.Hosting.Testing (1)
FakeHostingExtensions.cs (1)
55return host.Services.GetFakeLogCollector();
Microsoft.Extensions.Http.Diagnostics.Tests (12)
Logging\AcceptanceTests.cs (12)
41var collector = sp.GetFakeLogCollector(); 72var collector = sp.GetFakeLogCollector(); 114var collector = sp.GetFakeLogCollector(); 171var collector = provider.GetFakeLogCollector(); 252var collector = provider.GetFakeLogCollector(); 322var collector = sp.GetFakeLogCollector(); 365var collector = sp.GetFakeLogCollector(); 434var collector = sp.GetFakeLogCollector(); 594var collector = provider.GetFakeLogCollector(); 620var collector = provider.GetFakeLogCollector(); 643var collector = provider.GetFakeLogCollector(); 695var collector = provider.GetFakeLogCollector();