Implemented interface member:
property
Writes
Microsoft.Extensions.Logging.Testing.ITestSink.Writes
266 references to Writes
Microsoft.AspNetCore.Antiforgery.Test (7)
Microsoft.AspNetCore.Components.Tests (2)
Microsoft.AspNetCore.Diagnostics.Tests (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (3)
Microsoft.AspNetCore.Hosting.Tests (5)
Microsoft.AspNetCore.Http.Tests (1)
Microsoft.AspNetCore.HttpLogging.Tests (4)
Microsoft.AspNetCore.HttpsPolicy.Tests (12)
Microsoft.AspNetCore.Localization.Tests (2)
Microsoft.AspNetCore.Mvc.Core.Test (33)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (2)
Microsoft.AspNetCore.Mvc.Razor.Test (2)
Microsoft.AspNetCore.Mvc.RazorPages.Test (8)
Microsoft.AspNetCore.OutputCaching.Tests (47)
OutputCacheMiddlewareTests.cs (34)
48sink.Writes,
64sink.Writes,
92sink.Writes,
122sink.Writes,
150sink.Writes,
166Assert.Empty(sink.Writes);
189Assert.Single(sink.Writes);
194Assert.Equal(2, sink.Writes.Count);
202sink.Writes,
231Assert.Single(sink.Writes);
236Assert.Equal(2, sink.Writes.Count);
244sink.Writes,
266sink.Writes,
286Assert.Empty(sink.Writes);
300Assert.Empty(sink.Writes);
331sink.Writes,
347Assert.Empty(sink.Writes);
363sink.Writes,
415Assert.Empty(sink.Writes);
438Assert.Empty(sink.Writes);
466Assert.Empty(sink.Writes);
492Assert.Empty(sink.Writes);
530Assert.Empty(sink.Writes);
548Assert.Empty(sink.Writes);
570Assert.Empty(sink.Writes);
585Assert.Empty(sink.Writes);
624sink.Writes,
653sink.Writes,
686sink.Writes,
711sink.Writes,
732sink.Writes,
753sink.Writes,
783sink.Writes,
987sink.Writes,
Microsoft.AspNetCore.RateLimiting.Tests (1)
Microsoft.AspNetCore.RequestDecompression.Tests (10)
Microsoft.AspNetCore.ResponseCaching.Tests (77)
ResponseCachingMiddlewareTests.cs (40)
32sink.Writes,
47sink.Writes,
71sink.Writes,
100sink.Writes,
120sink.Writes,
148sink.Writes,
172sink.Writes,
184Assert.Empty(sink.Writes);
200Assert.Single(sink.Writes);
205Assert.Equal(2, sink.Writes.Count);
213sink.Writes,
232Assert.Single(sink.Writes);
238Assert.Equal(2, sink.Writes.Count);
247sink.Writes,
267sink.Writes,
285Assert.Empty(sink.Writes);
297Assert.Empty(sink.Writes);
326sink.Writes,
340Assert.Empty(sink.Writes);
354sink.Writes,
413Assert.Empty(sink.Writes);
428Assert.Empty(sink.Writes);
441Assert.Empty(sink.Writes);
464Assert.Empty(sink.Writes);
489Assert.Empty(sink.Writes);
514Assert.Empty(sink.Writes);
542sink.Writes,
573sink.Writes,
614Assert.Empty(sink.Writes);
632Assert.Empty(sink.Writes);
651Assert.Empty(sink.Writes);
666Assert.Empty(sink.Writes);
682sink.Writes,
708sink.Writes,
737sink.Writes,
770sink.Writes,
798sink.Writes,
818sink.Writes,
840sink.Writes,
869sink.Writes,
ResponseCachingPolicyProviderTests.cs (37)
33Assert.Empty(sink.Writes);
63sink.Writes,
77sink.Writes,
93Assert.Empty(sink.Writes);
109sink.Writes,
123sink.Writes,
137Assert.Empty(sink.Writes);
152Assert.Empty(sink.Writes);
163sink.Writes,
178Assert.Empty(sink.Writes);
194sink.Writes,
211sink.Writes,
228sink.Writes,
245sink.Writes,
262sink.Writes,
279Assert.Empty(sink.Writes);
356sink.Writes,
376Assert.Empty(sink.Writes);
397sink.Writes,
418Assert.Empty(sink.Writes);
439sink.Writes,
460Assert.Empty(sink.Writes);
481sink.Writes,
496Assert.Empty(sink.Writes);
514Assert.Empty(sink.Writes);
534sink.Writes,
555Assert.Empty(sink.Writes);
576sink.Writes,
598Assert.Empty(sink.Writes);
620sink.Writes,
643sink.Writes,
666sink.Writes,
690sink.Writes,
713sink.Writes,
737sink.Writes,
762sink.Writes,
787sink.Writes,
Microsoft.AspNetCore.ResponseCompression.Tests (4)
Microsoft.AspNetCore.Routing.Tests (20)
Microsoft.AspNetCore.Session.Tests (17)
SessionTests.cs (17)
366var sessionLogMessages = sink.Writes.ToList();
431var sessionLogMessages = sink.Writes.ToList();
681Assert.NotEmpty(sink.Writes);
682var message = sink.Writes.First();
730Assert.NotEmpty(sink.Writes);
731var message = sink.Writes.First();
779var message = Assert.Single(sink.Writes);
827Assert.Empty(sink.Writes);
879var sessionLogMessage = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).Single();
884var sessionMiddlewareLogMessage = sink.Writes.Where(message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal)).Single();
942var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList();
950var sessionMiddlewareLogs = sink.Writes.Where(message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal)).ToList();
1009var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList();
1017Assert.DoesNotContain(sink.Writes, message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal));
1073var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList();
1081Assert.DoesNotContain(sink.Writes, message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal));
1125var message = Assert.Single(sink.Writes);
Microsoft.AspNetCore.SignalR.Client.Tests (1)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (3)
Microsoft.Extensions.Localization.Tests (1)