22 references to TestErrorBoundary
Microsoft.AspNetCore.Components.Tests (22)
RendererTest.cs (22)
4549TestErrorBoundary.RenderNestedErrorBoundaries(builder, builder =>
4563var componentFrames = batch.GetComponentFrames<TestErrorBoundary>();
4564Assert.Collection(componentFrames.Select(f => (TestErrorBoundary)f.Component),
4580TestErrorBoundary.RenderNestedErrorBoundaries(builder, builder =>
4589var errorBoundaries = renderer.Batches.Single().GetComponentFrames<TestErrorBoundary>()
4590.Select(f => (TestErrorBoundary)f.Component);
4617TestErrorBoundary.RenderNestedErrorBoundaries(builder, builder =>
4626var errorBoundaries = renderer.Batches.Single().GetComponentFrames<TestErrorBoundary>()
4627.Select(f => (TestErrorBoundary)f.Component).ToArray();
4656TestErrorBoundary.RenderNestedErrorBoundaries(builder, builder =>
4664var errorBoundaries = renderer.Batches.Single().GetComponentFrames<TestErrorBoundary>()
4665.Select(f => (TestErrorBoundary)f.Component);
4695TestErrorBoundary.RenderNestedErrorBoundaries(builder, builder =>
4703var errorBoundaries = renderer.Batches.Single().GetComponentFrames<TestErrorBoundary>()
4704.Select(f => (TestErrorBoundary)f.Component);
4742TestErrorBoundary.RenderNestedErrorBoundaries(builder, builder =>
4752var errorBoundaries = renderer.Batches.Single().GetComponentFrames<TestErrorBoundary>()
4753.Select(f => (TestErrorBoundary)f.Component);
5987builder.OpenComponent<TestErrorBoundary>(0);
5988builder.AddComponentParameter(1, nameof(TestErrorBoundary.ChildContent), (RenderFragment)(builder =>
5991builder.OpenComponent<TestErrorBoundary>(0);
5992builder.AddComponentParameter(1, nameof(TestErrorBoundary.ChildContent), innerContent);