11 references to FakeComponent
Microsoft.AspNetCore.Components.Tests (11)
RendererTest.cs (11)
2078builder.OpenComponent<FakeComponent>(1); 2079builder.AddComponentParameter(2, nameof(FakeComponent.IntProperty), firstRender ? 123 : 256); 2080builder.AddComponentParameter(3, nameof(FakeComponent.ObjectProperty), objectThatWillNotChange); 2081builder.AddComponentParameter(4, nameof(FakeComponent.StringProperty), firstRender ? "String that will change" : "String that did change"); 2091var childComponentInstance = (FakeComponent)originalComponentFrame.Component; 2225builder.OpenComponent<ConditionalParentComponent<FakeComponent>>(100); 2226builder.AddComponentParameter(101, nameof(ConditionalParentComponent<FakeComponent>.IncludeChild), true); 2229builder.OpenComponent<FakeComponent>(200); 2248Assert.IsType<FakeComponent>(childComponent3); 2259var renderHandle = ((FakeComponent)childComponent3).RenderHandle;