6 instantiations of TestRenderer
Microsoft.AspNetCore.Components.Authorization.Tests (6)
AuthorizeRouteViewTest.cs (1)
37_renderer = new TestRenderer(services);
AuthorizeViewTest.cs (1)
569return new TestRenderer(serviceCollection.BuildServiceProvider());
CascadingAuthenticationStateTest.cs (4)
19var renderer = new TestRenderer(); 44var renderer = new TestRenderer(services.BuildServiceProvider()); 77var renderer = new TestRenderer(services.BuildServiceProvider()); 129var renderer = new TestRenderer(services.BuildServiceProvider());
22 references to TestRenderer
Microsoft.AspNetCore.Components.Authorization.Tests (22)
AuthorizeRouteViewTest.cs (1)
17private readonly TestRenderer _renderer;
AuthorizeViewTest.cs (15)
27var renderer = CreateTestRenderer(authorizationService); 55var renderer = CreateTestRenderer(authorizationService); 91var renderer = CreateTestRenderer(authorizationService); 119var renderer = CreateTestRenderer(authorizationService); 155var renderer = CreateTestRenderer(authorizationService); 191var renderer = CreateTestRenderer(authorizationService); 237var renderer = CreateTestRenderer(authorizationService); 255var renderer = CreateTestRenderer(authorizationService); 297var renderer = CreateTestRenderer(authorizationService); 356var renderer = CreateTestRenderer(authorizationService); 412var renderer = CreateTestRenderer(authorizationService); 435var renderer = CreateTestRenderer(authorizationService); 459var renderer = CreateTestRenderer(authorizationService); 483var renderer = CreateTestRenderer(authorizationService); 564public TestRenderer CreateTestRenderer(IAuthorizationService authorizationService)
CascadingAuthenticationStateTest.cs (4)
19var renderer = new TestRenderer(); 44var renderer = new TestRenderer(services.BuildServiceProvider()); 77var renderer = new TestRenderer(services.BuildServiceProvider()); 129var renderer = new TestRenderer(services.BuildServiceProvider());
src\Components\Shared\test\TestRenderer.cs (2)
153private readonly TestRenderer _renderer; 158_renderer = (TestRenderer)renderer;