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