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