Implemented interface member:
property
Writes
Microsoft.Extensions.Logging.Testing.ITestSink.Writes
16 references to Writes
Aspire.Dashboard.Tests (16)
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\OtlpHttpServiceTests.cs (1)
287var logs = testSink.Writes.Where(w =>
Integration\StartupTests.cs (3)
379Assert.Contains(testSink.Writes, w => 599var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 679var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList();
Model\ApplicationsSelectHelpersTests.cs (3)
158Assert.Empty(testSink.Writes); 166Assert.Empty(testSink.Writes); 190Assert.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);