1 type derived from TestComponent
Microsoft.AspNetCore.Components.Tests (1)
Rendering\RenderTreeBuilderTest.cs (1)
2287
private class OtherComponent :
TestComponent
4 instantiations of TestComponent
Microsoft.AspNetCore.Components.Tests (4)
Rendering\RenderTreeBuilderTest.cs (4)
2025
var component = new
TestComponent
();
2043
var component = new
TestComponent
();
2058
var component = new
TestComponent
();
2073
var component = new
TestComponent
();
67 references to TestComponent
Microsoft.AspNetCore.Components.Tests (67)
Rendering\RenderTreeBuilderTest.cs (67)
564
builder.OpenComponent<
TestComponent
>(0);
579
builder.OpenComponent<
TestComponent
>(0);
607
builder.OpenComponent<
TestComponent
>(11); // 1: <testcomponent
611
builder.OpenComponent<
TestComponent
>(14); // 4: <testcomponent
619
frame => AssertFrame.Component<
TestComponent
>(frame),
622
frame => AssertFrame.Component<
TestComponent
>(frame),
633
var componentType = typeof(
TestComponent
);
647
frame => AssertFrame.Component<
TestComponent
>(frame),
650
frame => AssertFrame.Component<
TestComponent
>(frame),
753
builder.OpenComponent<
TestComponent
>(0);
806
builder.OpenComponent<
TestComponent
>(0); // 0: <TestComponent
814
frame => AssertFrame.Component<
TestComponent
>(frame, 4, 0),
875
builder.OpenComponent<
TestComponent
>(0);
882
frame => AssertFrame.Component<
TestComponent
>(frame, 3),
948
builder.OpenComponent<
TestComponent
>(0);
955
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
968
builder.OpenComponent<
TestComponent
>(0);
975
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
1023
builder.OpenComponent<
TestComponent
>(0);
1030
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
1043
builder.OpenComponent<
TestComponent
>(0);
1050
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
1142
builder.OpenComponent<
TestComponent
>(0);
1149
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
1161
builder.OpenComponent<
TestComponent
>(0);
1168
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
1238
builder.OpenComponent<
TestComponent
>(0);
1245
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
1258
builder.OpenComponent<
TestComponent
>(0);
1265
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
1335
builder.OpenComponent<
TestComponent
>(0);
1342
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
1355
builder.OpenComponent<
TestComponent
>(0);
1362
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
1410
builder.OpenComponent<
TestComponent
>(0);
1417
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
1446
builder.OpenComponent<
TestComponent
>(0);
1453
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
1486
builder.OpenComponent<
TestComponent
>(0);
1493
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
1526
builder.OpenComponent<
TestComponent
>(0);
1533
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
1603
builder.OpenComponent<
TestComponent
>(0);
1610
frame => AssertFrame.Component<
TestComponent
>(frame, 2, 0),
1722
builder.OpenComponent<
TestComponent
>(0);
1733
AssertFrame.Component<
TestComponent
>(frame, 3, 0);
1798
builder.OpenComponent<
TestComponent
>(0);
1807
AssertFrame.Component<
TestComponent
>(frame, 1, 0);
1913
builder.OpenComponent<
TestComponent
>(0);
1927
f => AssertFrame.Component<
TestComponent
>(f, 2, 0),
1937
builder.OpenComponent<
TestComponent
>(0);
1951
f => AssertFrame.Component<
TestComponent
>(f, 2, 0),
2025
var
component = new TestComponent();
2043
var
component = new TestComponent();
2050
Assert.StartsWith($"Render output is invalid for component of type '{typeof(
TestComponent
).FullName}'. A frame of type 'Element' was left unclosed.", ex.Message);
2058
var
component = new TestComponent();
2065
Assert.StartsWith($"Render output is invalid for component of type '{typeof(
TestComponent
).FullName}'. A frame of type 'Component' was left unclosed.", ex.Message);
2073
var
component = new TestComponent();
2080
Assert.StartsWith($"Render output is invalid for component of type '{typeof(
TestComponent
).FullName}'. A frame of type 'Region' was left unclosed.", ex.Message);
2090
builder.OpenComponent<
TestComponent
>(0);
2098
AssertFrame.Component<
TestComponent
>(frame, 1, 0);
2111
builder.OpenComponent<
TestComponent
>(0);
2121
AssertFrame.Component<
TestComponent
>(frame, 3, 0);
2150
builder.OpenComponent<
TestComponent
>(0);
2160
AssertFrame.Component<
TestComponent
>(frame, 2, 0);
2171
builder.OpenComponent<
TestComponent
>(0);
2208
builder.OpenComponent<
TestComponent
>(0);