1 instantiation of TestCircuitHost
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\TestCircuitHost.cs (1)
53return new TestCircuitHost(
36 references to TestCircuitHost
Microsoft.AspNetCore.Components.Server.Tests (36)
CircuitDisconnectMiddlewareTest.cs (2)
171var testCircuitHost = TestCircuitHost.Create(circuitId); 208var circuitHost = TestCircuitHost.Create(circuitId);
Circuits\CircuitHostTest.cs (18)
30var circuitHost = TestCircuitHost.Create( 55var circuitHost = TestCircuitHost.Create( 79var circuitHost = TestCircuitHost.Create( 102var circuitHost = TestCircuitHost.Create( 132var circuitHost = TestCircuitHost.Create( 193var circuitHost = TestCircuitHost.Create(handlers: new[] { handler1.Object, handler2.Object }); 232var circuitHost = TestCircuitHost.Create( 243Assert.True(initializeException is null, $"An exception was thrown in {nameof(TestCircuitHost.InitializeAsync)}(): {initializeException}"); 261var circuitHost = TestCircuitHost.Create(handlers: new[] { handler.Object }, descriptors: [new ComponentDescriptor() ]); 324var circuitHost = TestCircuitHost.Create(handlers: new[] { handler1.Object, handler2.Object }); 372var circuitHost = TestCircuitHost.Create(handlers: new[] { handler1.Object, handler2.Object, handler3.Object }); 400var circuitHost = TestCircuitHost.Create(); 418var circuitHost = TestCircuitHost.Create( 440var circuitHost = TestCircuitHost.Create( 466var circuitHost = TestCircuitHost.Create( 493var circuitHost = TestCircuitHost.Create( 531var circuitHost = TestCircuitHost.Create( 568var circuitHost = TestCircuitHost.Create(
Circuits\CircuitRegistryTest.cs (14)
20var circuitHost = TestCircuitHost.Create(); 37var circuitHost = TestCircuitHost.Create(circuitIdFactory.CreateCircuitId()); 62var circuitHost = TestCircuitHost.Create(circuitIdFactory.CreateCircuitId()); 88var circuitHost = TestCircuitHost.Create(circuitIdFactory.CreateCircuitId(), handlers: new[] { handler.Object }); 112var circuitHost = TestCircuitHost.Create(circuitIdFactory.CreateCircuitId(), handlers: new[] { handler.Object }); 137var circuitHost = TestCircuitHost.Create(circuitIdFactory.CreateCircuitId(), handlers: new[] { handler.Object }); 158var circuitHost = TestCircuitHost.Create(); 175var circuitHost = TestCircuitHost.Create(handlers: new[] { handler.Object }); 194var circuitHost = TestCircuitHost.Create(handlers: new[] { handler.Object }); 213var circuitHost = TestCircuitHost.Create(handlers: new[] { handler.Object }); 235var circuitHost = TestCircuitHost.Create(circuitIdFactory.CreateCircuitId()); 274var circuitHost = TestCircuitHost.Create(circuitIdFactory.CreateCircuitId()); 312var circuitHost = TestCircuitHost.Create(); 339var circuitHost = TestCircuitHost.Create(circuitIdFactory.CreateCircuitId());
Circuits\ComponentHubTest.cs (2)
159var circuitHost = TestCircuitHost.Create( 209var circuitHost = TestCircuitHost.Create(serviceScope: new AsyncServiceScope(serviceScope.Object));