18 references to ErrorThrowingComponent
Microsoft.AspNetCore.Components.Tests (18)
RendererTest.cs (18)
4552builder.OpenComponent<ErrorThrowingComponent>(0);
4553builder.AddComponentParameter(1, nameof(ErrorThrowingComponent.ThrowDuringRender), exception);
4563var errorThrowingComponentId = batch.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId;
4583builder.OpenComponent<ErrorThrowingComponent>(0);
4584builder.AddComponentParameter(1, nameof(ErrorThrowingComponent.ThrowDuringParameterSettingSync), exception);
4593.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId;
4620builder.OpenComponent<ErrorThrowingComponent>(0);
4621builder.AddComponentParameter(1, nameof(ErrorThrowingComponent.ThrowDuringParameterSettingAsync), exceptionTcs?.Task);
4630.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId;
4659builder.OpenComponent<ErrorThrowingComponent>(0);
4660builder.AddComponentParameter(1, nameof(ErrorThrowingComponent.ThrowDuringEventSync), exception);
4668.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId;
4698builder.OpenComponent<ErrorThrowingComponent>(0);
4699builder.AddComponentParameter(1, nameof(ErrorThrowingComponent.ThrowDuringEventAsync), exceptionTcs.Task);
4707.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId;
4745builder.OpenComponent<ErrorThrowingComponent>(0);
4746builder.AddComponentParameter(1, nameof(ErrorThrowingComponent.ThrowDuringEventAsync), exceptionTcs.Task);
4756.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId;