Implemented interface member:
property
Writes
Microsoft.Extensions.Logging.Testing.ITestSink.Writes
13 references to Writes
Aspire.Dashboard.Tests (13)
Integration\FrontendBrowserTokenAuthTests.cs (4)
101var log = testSink.Writes.Single(s => s.LoggerName == typeof(FrontendCompositeAuthenticationHandler).FullName && s.EventId.Name == "AuthenticationSchemeNotAuthenticatedWithFailure"); 171var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 232var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 259var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList();
Integration\FrontendOpenIdConnectAuthTests.cs (1)
90var log = testSink.Writes.Single(s => s.LoggerName == typeof(FrontendCompositeAuthenticationHandler).FullName && s.EventId.Name == "AuthenticationSchemeNotAuthenticatedWithFailure");
Integration\StartupTests.cs (3)
341Assert.Contains(testSink.Writes, w => 559var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 639var 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)
438var w = Assert.Single(testSink.Writes); 491var w = Assert.Single(testSink.Writes);
TelemetryRepositoryTests\TraceTests.cs (1)
146var write = Assert.Single(testSink.Writes);