Implemented interface member:
property
Writes
Microsoft.Extensions.Logging.Testing.ITestSink.Writes
14 references to Writes
Aspire.Dashboard.Tests (14)
Integration\FrontendBrowserTokenAuthTests.cs (4)
100var log = testSink.Writes.Single(s => s.LoggerName == typeof(FrontendCompositeAuthenticationHandler).FullName && s.EventId.Name == "AuthenticationSchemeNotAuthenticatedWithFailure"); 170var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 231var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 258var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList();
Integration\FrontendOpenIdConnectAuthTests.cs (1)
89var log = testSink.Writes.Single(s => s.LoggerName == typeof(FrontendCompositeAuthenticationHandler).FullName && s.EventId.Name == "AuthenticationSchemeNotAuthenticatedWithFailure");
Integration\StartupTests.cs (3)
377Assert.Contains(testSink.Writes, w => 597var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 677var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList();
Model\ApplicationsSelectHelpersTests.cs (2)
103Assert.Empty(testSink.Writes); 127Assert.Single(testSink.Writes);
Telemetry\DashboardTelemetryServiceTests.cs (1)
158Assert.False(testSink.Writes.Any(w => w.LogLevel >= LogLevel.Warning), "Test ran without any warnings or errors logged.");
TelemetryRepositoryTests\OtlpHelpersTests.cs (2)
451var w = Assert.Single(testSink.Writes); 504var w = Assert.Single(testSink.Writes);
TelemetryRepositoryTests\TraceTests.cs (1)
148var write = Assert.Single(testSink.Writes);