262 references to TestSink
Microsoft.AspNetCore.Antiforgery.Test (7)
DefaultAntiforgeryTest.cs (7)
377var testSink = new TestSink(); 395var testSink = new TestSink(); 413var testSink = new TestSink(); 431var testSink = new TestSink(); 1279var testSink = new TestSink(); 1317var testSink = new TestSink(); 1351var testSink = new TestSink();
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Binding\FormDataMetadataFactoryTests.cs (1)
599var sink = new TestSink();
Microsoft.AspNetCore.Components.Tests (2)
Lifetime\ComponentStatePersistenceManagerTest.cs (2)
186var sink = new TestSink(); 212var sink = new TestSink();
Microsoft.AspNetCore.Diagnostics.Tests (2)
ExceptionHandlerTest.cs (2)
608var sink = new TestSink(TestSink.EnableWithTypeName<ExceptionHandlerMiddleware>); 736var sink = new TestSink(TestSink.EnableWithTypeName<ExceptionHandlerMiddleware>);
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (2)
JsonTranscodingServiceMethodProviderTests.cs (2)
105var testSink = new TestSink(); 139var testSink = new TestSink();
Microsoft.AspNetCore.Hosting.Tests (2)
HostingApplicationDiagnosticsTests.cs (1)
1049var testSink = new TestSink();
WebHostBuilderTests.cs (1)
1754public TestSink Sink { get; set; } = new TestSink();
Microsoft.AspNetCore.Http.Tests (1)
ResponseCookiesTest.cs (1)
31var sink = new TestSink(TestSink.EnableWithTypeName<ResponseCookies>);
Microsoft.AspNetCore.HttpLogging.Tests (2)
FileLoggerProcessorTests.cs (2)
223var testSink = new TestSink(); 247var testSink2 = new TestSink();
Microsoft.AspNetCore.HttpsPolicy.Tests (12)
HstsMiddlewareTests.cs (5)
174var sink = new TestSink( 224var sink = new TestSink( 279var sink = new TestSink( 331var sink = new TestSink( 378var sink = new TestSink(
HttpsRedirectionMiddlewareTests.cs (7)
23var sink = new TestSink( 73var sink = new TestSink( 129var sink = new TestSink( 234var sink = new TestSink( 320var sink = new TestSink( 373var sink = new TestSink( 415var sink = new TestSink(
Microsoft.AspNetCore.InternalTesting (1)
LoggedTest\LoggedTest.cs (1)
21TestSink = new TestSink();
Microsoft.AspNetCore.Localization.Tests (2)
CookieRequestCultureProviderTest.cs (2)
171var sink = new TestSink( 231var sink = new TestSink(
Microsoft.AspNetCore.Mvc.Core.Test (35)
Filters\DisableRequestSizeLimitFilterTest.cs (3)
57var sink = new TestSink(); 76var sink = new TestSink(); 98var sink = new TestSink();
Filters\RequestFormLimitsFilterTest.cs (3)
59var sink = new TestSink(); 83var sink = new TestSink(); 108var sink = new TestSink();
Filters\RequestSizeLimitFilterTest.cs (3)
60var sink = new TestSink(); 80var sink = new TestSink(); 103var sink = new TestSink();
Infrastructure\ActionSelectorTest.cs (1)
495var sink = new TestSink();
Infrastructure\ControllerActionInvokerTest.cs (1)
1551var testSink = new TestSink();
Infrastructure\JsonResultExecutorTestBase.cs (2)
238var sink = new TestSink(); 256var sink = new TestSink();
ModelBinding\Binders\BodyModelBinderProviderTest.cs (1)
134var sink = new TestSink();
ModelBinding\Binders\BodyModelBinderTests.cs (3)
593var sink = new TestSink(); 622var sink = new TestSink(); 718var sink = new TestSink();
ModelBinding\Binders\SimpleTypeModelBinderTest.cs (2)
183var sink = new TestSink(); 272var sink = new TestSink();
ModelBinding\Binders\TryParseTypeModelBinderTest.cs (2)
132var sink = new TestSink(); 199var sink = new TestSink();
ModelBinding\ParameterBinderTest.cs (1)
201var sink = new TestSink();
MvcCoreLoggerExtensionsTest.cs (12)
39var testSink = new TestSink(); 71var testSink = new TestSink(); 100var testSink = new TestSink(); 151var testSink = new TestSink(); 197var testSink = new TestSink(); 243var testSink = new TestSink(); 289var testSink = new TestSink(); 335var testSink = new TestSink(); 381var testSink = new TestSink(); 400var testSink = new TestSink(); 431var testSink = new TestSink(); 459var testSink = new TestSink();
Routing\MvcRouteHandlerTests.cs (1)
22var sink = new TestSink();
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (4)
XmlDataContractSerializerOutputFormatterTest.cs (2)
635var sink1 = new TestSink(); 638var sink2 = new TestSink();
XmlSerializerOutputFormatterTest.cs (2)
452var sink1 = new TestSink(); 455var sink2 = new TestSink();
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
Infrastructure\MvcTestFixture.cs (1)
28var testSink = new TestSink();
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (2)
src\Mvc\Mvc.Core\test\Infrastructure\JsonResultExecutorTestBase.cs (2)
238var sink = new TestSink(); 256var sink = new TestSink();
Microsoft.AspNetCore.Mvc.Razor.Test (2)
TagHelpers\TagHelperComponentTagHelperTest.cs (2)
221var sink = new TestSink(); 254var sink = new TestSink();
Microsoft.AspNetCore.Mvc.RazorPages.Test (7)
Infrastructure\PageActionInvokerTest.cs (1)
1393var testSink = new TestSink();
PageLoggerExtensionsTest.cs (6)
17var testSink = new TestSink(); 45var testSink = new TestSink(); 73var testSink = new TestSink(); 101var testSink = new TestSink(); 131var testSink = new TestSink(); 164var testSink = new TestSink();
Microsoft.AspNetCore.OutputCaching.Tests (49)
OutputCacheMiddlewareTests.cs (32)
36var sink = new TestSink(); 56var sink = new TestSink(); 72var sink = new TestSink(); 100var sink = new TestSink(); 130var sink = new TestSink(); 159var sink = new TestSink(); 173var sink = new TestSink(); 211var sink = new TestSink(); 253var sink = new TestSink(); 274var sink = new TestSink(); 292var sink = new TestSink(); 321var sink = new TestSink(); 338var sink = new TestSink(); 353var sink = new TestSink(); 408var sink = new TestSink(); 428var sink = new TestSink(); 447var sink = new TestSink(); 473var sink = new TestSink(); 518var sink = new TestSink(); 537var sink = new TestSink(); 558var sink = new TestSink(); 576var sink = new TestSink(); 591var sink = new TestSink(); 606var sink = new TestSink(); 634var sink = new TestSink(); 663var sink = new TestSink(); 694var sink = new TestSink(); 719var sink = new TestSink(); 740var sink = new TestSink(); 760var sink = new TestSink(); 967var sink = new TestSink(); 1022var sink = new TestSink();
OutputCachePolicyProviderTests.cs (17)
46var sink = new TestSink(); 65var sink = new TestSink(); 79var sink = new TestSink(); 95var sink = new TestSink(); 113var sink = new TestSink(); 129var sink = new TestSink(); 143var sink = new TestSink(); 161var sink = new TestSink(); 179var sink = new TestSink(); 197var sink = new TestSink(); 211var sink = new TestSink(); 225var sink = new TestSink(); 244var sink = new TestSink(); 320var sink = new TestSink(); 334var sink = new TestSink(); 354var sink = new TestSink(); 377var sink = new TestSink();
Microsoft.AspNetCore.RateLimiting.Tests (1)
RateLimitingMiddlewareTests.cs (1)
138var sink = new TestSink(
Microsoft.AspNetCore.RequestDecompression.Tests (9)
DefaultRequestDecompressionProviderTests.cs (1)
161var sink = new TestSink(
RequestDecompressionMiddlewareTests.cs (8)
200var sink = new TestSink( 270var sink = new TestSink( 346var sink = new TestSink( 441var sink = new TestSink( 527var sink = new TestSink( 602new TestLoggerFactory(new TestSink(), enabled: true)); 633new TestLoggerFactory(new TestSink(), enabled: true)); 683var sink = new TestSink(
Microsoft.AspNetCore.ResponseCaching.Tests (73)
ResponseCachingMiddlewareTests.cs (36)
21var sink = new TestSink(); 40var sink = new TestSink(); 55var sink = new TestSink(); 79var sink = new TestSink(); 108var sink = new TestSink(); 128var sink = new TestSink(); 156var sink = new TestSink(); 179var sink = new TestSink(); 191var sink = new TestSink(); 222var sink = new TestSink(); 256var sink = new TestSink(); 275var sink = new TestSink(); 291var sink = new TestSink(); 318var sink = new TestSink(); 333var sink = new TestSink(); 346var sink = new TestSink(); 399var sink = new TestSink(); 419var sink = new TestSink(); 434var sink = new TestSink(); 451var sink = new TestSink(); 471var sink = new TestSink(); 496var sink = new TestSink(); 521var sink = new TestSink(); 550var sink = new TestSink(); 600var sink = new TestSink(); 621var sink = new TestSink(); 639var sink = new TestSink(); 657var sink = new TestSink(); 672var sink = new TestSink(); 690var sink = new TestSink(); 718var sink = new TestSink(); 747var sink = new TestSink(); 778var sink = new TestSink(); 806var sink = new TestSink(); 826var sink = new TestSink(); 847var sink = new TestSink();
ResponseCachingPolicyProviderTests.cs (37)
28var sink = new TestSink(); 57var sink = new TestSink(); 70var sink = new TestSink(); 84var sink = new TestSink(); 99var sink = new TestSink(); 116var sink = new TestSink(); 130var sink = new TestSink(); 143var sink = new TestSink(); 158var sink = new TestSink(); 170var sink = new TestSink(); 184var sink = new TestSink(); 201var sink = new TestSink(); 218var sink = new TestSink(); 235var sink = new TestSink(); 252var sink = new TestSink(); 270var sink = new TestSink(); 346var sink = new TestSink(); 363var sink = new TestSink(); 382var sink = new TestSink(); 405var sink = new TestSink(); 425var sink = new TestSink(); 447var sink = new TestSink(); 467var sink = new TestSink(); 489var sink = new TestSink(); 503var sink = new TestSink(); 521var sink = new TestSink(); 542var sink = new TestSink(); 562var sink = new TestSink(); 584var sink = new TestSink(); 605var sink = new TestSink(); 627var sink = new TestSink(); 651var sink = new TestSink(); 673var sink = new TestSink(); 697var sink = new TestSink(); 720var sink = new TestSink(); 744var sink = new TestSink(); 769var sink = new TestSink();
Microsoft.AspNetCore.ResponseCompression.Tests (4)
ResponseCompressionMiddlewareTest.cs (4)
437var sink = new TestSink( 498var sink = new TestSink( 561var sink = new TestSink( 1238var sink = new TestSink(
Microsoft.AspNetCore.Routing.Tests (22)
ConstraintMatcherTest.cs (2)
19var sink = new TestSink(); 196var sink = new TestSink();
DefaultLinkParserTest.cs (3)
25var sink = new TestSink(); 47var sink = new TestSink(); 71var sink = new TestSink();
EndpointRoutingMiddlewareFormOptionsTest.cs (5)
26var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 58var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 93var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 131var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 166var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>);
EndpointRoutingMiddlewareTest.cs (6)
65var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 234var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 272var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 304var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 330var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>); 360var sink = new TestSink(TestSink.EnableWithTypeName<EndpointRoutingMiddleware>);
Matching\DfaMatcherTest.cs (4)
787var sink = new TestSink(); 817var sink = new TestSink(); 857var sink = new TestSink(); 899var sink = new TestSink();
RouterMiddlewareTest.cs (2)
71var sink = new TestSink( 102var sink = new TestSink(
Microsoft.AspNetCore.Session.Tests (11)
SessionTests.cs (11)
331var sink = new TestSink( 378var sink = new TestSink( 640var sink = new TestSink( 690var sink = new TestSink( 739var sink = new TestSink( 787var sink = new TestSink( 833var sink = new TestSink( 893var sink = new TestSink( 959var sink = new TestSink( 1023var sink = new TestSink( 1087var sink = new TestSink(
Microsoft.AspNetCore.SignalR.Client.Tests (1)
HttpConnectionTests.cs (1)
137var testSink = new TestSink();
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
RedisHubLifetimeManagerTests.cs (1)
94var testSink = new TestSink();
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (5)
DefaultHealthCheckServiceTest.cs (1)
320var sink = new TestSink();
HealthCheckPublisherHostedServiceTest.cs (4)
185var sink = new TestSink(); 450var sink = new TestSink(); 668var sink = new TestSink(); 710var sink = new TestSink();
Microsoft.Extensions.Localization.Tests (1)
ResourceManagerStringLocalizerTest.cs (1)
245private TestSink Sink { get; } = new TestSink();