53 instantiations of TestComponent
Microsoft.AspNetCore.Components.Tests (53)
RendererTest.cs (53)
33var component = new TestComponent(builder => 62var component = new TestComponent(builder => 135var parentComponent = new TestComponent(builder => 788var parentComponent = new TestComponent(builder => 960var parentComponent = new TestComponent(builder => 2005renderer2.AssignRootComponentId(new TestComponent(null)); // Just so they don't get the same IDs 2037var component = new TestComponent(builder => 2076var component = new TestComponent(builder => 2114var component = new TestComponent(builder => 2150var component = new TestComponent(builder => 2190var component = new TestComponent(builder => 2220var component = new TestComponent(builder => 2274var component = new TestComponent(builder => 2314var component = new TestComponent(builder => 2348var component = new TestComponent(builder => 2388var component = new TestComponent(builder => 2433var component = new TestComponent(builder => 2472var component = new TestComponent(builder => 2507var component = new TestComponent(builder => 2557var component = new TestComponent(builder => 2844rootComponent = new TestComponent(builder => 2921var component = new TestComponent(builder => { }); 2934var component = new TestComponent(builder => 2967parent = new TestComponent(builder => 3030component = new TestComponent(builder => 3272var component = new TestComponent(builder => 3394var parentComponent = new TestComponent(builder => 3711var component = new TestComponent(builder => 3965var component = new TestComponent(builder => 4005var component = new TestComponent(builder => 4166var component = new TestComponent(builder => 4210var component = new TestComponent(builder => 4238var component = new TestComponent(builder => 4270var component = new TestComponent(builder => 4298var component = new TestComponent(builder => 4440var rootComponent = new TestComponent(builder => 4474var rootComponent = new TestComponent(builder => 4530var component = new TestComponent(builder => 4547var rootComponentId = renderer.AssignRootComponentId(new TestComponent(builder => 4578var rootComponent = new TestComponent(builder => 4615var rootComponent = new TestComponent(builder => 4654var rootComponentId = renderer.AssignRootComponentId(new TestComponent(builder => 4693var rootComponentId = renderer.AssignRootComponentId(new TestComponent(builder => 4738var rootComponent = new TestComponent(builder => 4787var rootComponent = new TestComponent(builder => 4868var rootComponent = new TestComponent(builder => 4903var rootComponent = new TestComponent(builder => 4990var component = new TestComponent(builder => 5012var component = new TestComponent(builder => 5035var component = new TestComponent(builder => 5052var component = new TestComponent(builder => 5071var component = new TestComponent(builder => 5095var component = new TestComponent(builder =>
58 references to TestComponent
Microsoft.AspNetCore.Components.Tests (58)
RendererTest.cs (58)
33var component = new TestComponent(builder => 62var component = new TestComponent(builder => 135var parentComponent = new TestComponent(builder => 788var parentComponent = new TestComponent(builder => 960var parentComponent = new TestComponent(builder => 2037var component = new TestComponent(builder => 2076var component = new TestComponent(builder => 2114var component = new TestComponent(builder => 2150var component = new TestComponent(builder => 2190var component = new TestComponent(builder => 2220var component = new TestComponent(builder => 2274var component = new TestComponent(builder => 2314var component = new TestComponent(builder => 2348var component = new TestComponent(builder => 2388var component = new TestComponent(builder => 2433var component = new TestComponent(builder => 2472var component = new TestComponent(builder => 2507var component = new TestComponent(builder => 2557var component = new TestComponent(builder => 2842TestComponent rootComponent = null; 2921var component = new TestComponent(builder => { }); 2934var component = new TestComponent(builder => 2965TestComponent parent = null; 3029TestComponent component = null; 3272var component = new TestComponent(builder => 3394var parentComponent = new TestComponent(builder => 3711var component = new TestComponent(builder => 3965var component = new TestComponent(builder => 4005var component = new TestComponent(builder => 4166var component = new TestComponent(builder => 4210var component = new TestComponent(builder => 4238var component = new TestComponent(builder => 4270var component = new TestComponent(builder => 4298var component = new TestComponent(builder => 4440var rootComponent = new TestComponent(builder => 4474var rootComponent = new TestComponent(builder => 4499var suppliedComponent = renderer.InstantiateComponent<TestComponent>(); 4504requestedType => Assert.Equal(typeof(TestComponent), requestedType)); 4517var suppliedComponent = renderer.InstantiateComponent<TestComponent>(); 4522requestedType => Assert.Equal(typeof(TestComponent), requestedType)); 4530var component = new TestComponent(builder => 4538Assert.StartsWith($"Render output is invalid for component of type '{typeof(TestComponent).FullName}'. A frame of type 'Element' was left unclosed.", ex.Message); 4578var rootComponent = new TestComponent(builder => 4615var rootComponent = new TestComponent(builder => 4738var rootComponent = new TestComponent(builder => 4787var rootComponent = new TestComponent(builder => 4868var rootComponent = new TestComponent(builder => 4903var rootComponent = new TestComponent(builder => 4990var component = new TestComponent(builder => 5012var component = new TestComponent(builder => 5035var component = new TestComponent(builder => 5052var component = new TestComponent(builder => 5054builder.OpenComponent<TestComponent>(0); 5062Assert.Contains($"Cannot supply a component of type '{typeof(TestComponent)}' because the current platform does not support the render mode '{typeof(ComponentWithUnknownRenderMode.UnknownRenderMode)}'.", ex.Message); 5071var component = new TestComponent(builder => 5095var component = new TestComponent(builder => 5097builder.OpenComponent<TestComponent>(0); 5398public TestComponent Parent { get; set; }