11 references to TestComponent
Microsoft.AspNetCore.Components.Endpoints.Tests (11)
SSRRenderModeBoundaryTest.cs (11)
23new SSRRenderModeBoundary(httpContext, typeof(TestComponent), new InteractiveServerRenderMode());
24new SSRRenderModeBoundary(httpContext, typeof(TestComponent), new InteractiveWebAssemblyRenderMode());
25new SSRRenderModeBoundary(httpContext, typeof(TestComponent), new InteractiveAutoRenderMode());
37httpContext, typeof(TestComponent), new ServerRenderModeSubclass()));
38Assert.Contains($"A component of type '{typeof(TestComponent)}' has render mode '{nameof(ServerRenderModeSubclass)}'", ex.Message);
51httpContext, typeof(TestComponent), new WebAssemblyRenderModeSubclass()));
52Assert.Contains($"A component of type '{typeof(TestComponent)}' has render mode '{nameof(WebAssemblyRenderModeSubclass)}'", ex.Message);
65httpContext, typeof(TestComponent), new AutoRenderModeSubclass()));
66Assert.Contains($"A component of type '{typeof(TestComponent)}' has render mode '{nameof(AutoRenderModeSubclass)}'", ex.Message);
79httpContext, typeof(TestComponent), new AutoRenderModeSubclass()));
80Assert.Contains($"A component of type '{typeof(TestComponent)}' has render mode '{nameof(AutoRenderModeSubclass)}'", ex.Message);