1 write to _renderer
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
ImportMapTest.cs (1)
26
_renderer
= new TestRenderer(serviceProvider)
25 references to _renderer
Microsoft.AspNetCore.Components.Endpoints.Tests (25)
ImportMapTest.cs (25)
30
_importMap = (ImportMap)
_renderer
.InstantiateComponent<ImportMap>();
61
var id =
_renderer
.AssignRootComponentId(importMap);
63
await
_renderer
.Dispatcher.InvokeAsync(() =>
_renderer
.RenderRootComponent(id));
66
var frames =
_renderer
.GetCurrentRenderTreeFrames(id);
104
var id =
_renderer
.AssignRootComponentId(importMap);
110
await
_renderer
.Dispatcher.InvokeAsync(() =>
_renderer
.RenderRootComponent(id));
113
var frames =
_renderer
.GetCurrentRenderTreeFrames(id);
158
var id =
_renderer
.AssignRootComponentId(importMap);
164
await
_renderer
.Dispatcher.InvokeAsync(() =>
_renderer
.RenderRootComponent(id));
167
await
_renderer
.Dispatcher.InvokeAsync(async () =>
175
await
_renderer
.Dispatcher.InvokeAsync(
_renderer
.ProcessPendingRender);
178
var frames =
_renderer
.GetCurrentRenderTreeFrames(id);
214
var id =
_renderer
.AssignRootComponentId(importMap);
220
await
_renderer
.Dispatcher.InvokeAsync(() =>
_renderer
.RenderRootComponent(id));
223
await
_renderer
.Dispatcher.InvokeAsync(async () =>
231
await
_renderer
.Dispatcher.InvokeAsync(
_renderer
.ProcessPendingRender);
234
Assert.Equal(1,
_renderer
.CapturedBatch.UpdatedComponents.Count);
235
Assert.Equal(0,
_renderer
.CapturedBatch.UpdatedComponents.Array[0].Edits.Count);
237
var frames =
_renderer
.GetCurrentRenderTreeFrames(id);