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