Implemented interface member:
property
Writes
Microsoft.Extensions.Logging.Testing.ITestSink.Writes
13 references to Writes
Aspire.Dashboard.Tests (13)
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)
344Assert.Contains(testSink.Writes, w => 564var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 644var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList();
Model\ApplicationsSelectHelpersTests.cs (2)
103Assert.Empty(testSink.Writes); 127Assert.Single(testSink.Writes);
TelemetryRepositoryTests\OtlpHelpersTests.cs (2)
451var w = Assert.Single(testSink.Writes); 504var w = Assert.Single(testSink.Writes);
TelemetryRepositoryTests\TraceTests.cs (1)
146var write = Assert.Single(testSink.Writes);