231 instantiations of TestClient
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
RedisHubLifetimeManagerBenchmark.cs (1)
62_clients[i] = new TestClient(protocol: protocol);
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (4)
RedisHubLifetimeManagerTests.cs (4)
55using (var client1 = new TestClient()) 56using (var client2 = new TestClient()) 112using (var client = new TestClient()) 133using (var client = new TestClient())
Microsoft.AspNetCore.SignalR.Tests (226)
DefaultHubLifetimeManagerTests.cs (14)
26using (var client1 = new TestClient()) 27using (var client2 = new TestClient(pauseWriterThreshold: 2)) 56using (var client1 = new TestClient()) 57using (var client2 = new TestClient(pauseWriterThreshold: 2)) 83using (var client1 = new TestClient(pauseWriterThreshold: 2)) 105using (var client1 = new TestClient(pauseWriterThreshold: 2)) 127using (var client1 = new TestClient(pauseWriterThreshold: 2)) 150using (var client1 = new TestClient()) 151using (var client2 = new TestClient(pauseWriterThreshold: 2)) 179using (var client1 = new TestClient(pauseWriterThreshold: 2)) 202using (var client1 = new TestClient()) 203using (var client2 = new TestClient(pauseWriterThreshold: 2)) 232using (var client1 = new TestClient()) 233using (var client2 = new TestClient(pauseWriterThreshold: 2))
HubConnectionHandlerTests.Activity.cs (8)
50using (var client = new TestClient()) 125using (var client = new TestClient()) 196using (var client = new TestClient(invocationBinder: invocationBinder.Object)) 255using (var client = new TestClient(invocationBinder: invocationBinder.Object)) 326using (var client = new TestClient()) 373using (var client = new TestClient()) 425using (var client = new TestClient()) 476using (var client = new TestClient())
HubConnectionHandlerTests.ClientResult.cs (13)
21using (var client = new TestClient()) 54using (var client = new TestClient()) 86using (var client = new TestClient()) 113using (var client = new TestClient()) 138using var client = new TestClient(); 170using var client = new TestClient(); 204using var client = new TestClient(invocationBinder: new GetClientResultTwoWaysInvocationBinder()); 239using (var client = new TestClient()) 293using (var client = new TestClient()) 362using var client = new TestClient(hubProtocol, new TestBinder()); 407using var client = new TestClient(); 452using (var client = new TestClient()) 493using (var client = new TestClient(invocationBinder: invocationBinder.Object))
HubConnectionHandlerTests.cs (173)
47using (var client = new TestClient()) 75using (var client = new TestClient()) 101using (var client = new TestClient()) 125using (var client = new TestClient()) 151using (var client = new TestClient()) 175using (var client = new TestClient()) 203using (var client = new TestClient()) 259using (var client = new TestClient(protocol: hubProtocolMock.Object)) 283using (var client = new TestClient(protocol: new MessagePackHubProtocol())) 313using (var client = new TestClient()) 343using (var client = new TestClient()) 386using (var client = new TestClient()) 425using (var client = new TestClient()) 462using (var client = new TestClient()) 487using (var client = new TestClient()) 516using (var client = new TestClient()) 550using (var client = new TestClient()) 601using (var client = new TestClient()) 644using (var client = new TestClient(protocol: hubProtocolMock.Object)) 665using (var client = new TestClient()) 706using (var client = new TestClient()) 747using (var client = new TestClient()) 779using (var client = new TestClient()) 802using (var client = new TestClient()) 828using (var client = new TestClient()) 854using (var client = new TestClient()) 878using (var client = new TestClient()) 924using (var client = new TestClient()) 956using (var client = new TestClient()) 993using (var client = new TestClient()) 1018using (var client = new TestClient()) 1047using (var client = new TestClient()) 1072using (var client = new TestClient()) 1098using (var client = new TestClient()) 1133using (var client = new TestClient()) 1161using (var client = new TestClient()) 1186using (var client = new TestClient()) 1211using (var client = new TestClient()) 1236using (var client = new TestClient()) 1280using (var client = new TestClient()) 1305using (var client = new TestClient()) 1338using (var client = new TestClient()) 1375using (var firstClient = new TestClient()) 1376using (var secondClient = new TestClient()) 1413using (var firstClient = new TestClient()) 1414using (var secondClient = new TestClient()) 1451using (var firstClient = new TestClient()) 1452using (var secondClient = new TestClient()) 1492using (var firstClient = new TestClient()) 1493using (var secondClient = new TestClient()) 1535using (var firstClient = new TestClient()) 1555using (var firstClient = new TestClient()) 1556using (var secondClient = new TestClient()) 1557using (var thirdClient = new TestClient()) 1601using (var firstClient = new TestClient()) 1602using (var secondClient = new TestClient()) 1603using (var thirdClient = new TestClient()) 1649using (var firstClient = new TestClient(userIdentifier: "userA")) 1650using (var secondClient = new TestClient(userIdentifier: "userB")) 1651using (var thirdClient = new TestClient(userIdentifier: "userC")) 1694using (var firstClient = new TestClient()) 1695using (var secondClient = new TestClient()) 1738using (var firstClient = new TestClient()) 1739using (var secondClient = new TestClient()) 1791using (var firstClient = new TestClient()) 1792using (var secondClient = new TestClient()) 1842using (var firstClient = new TestClient()) 1843using (var secondClient = new TestClient()) 1886using (var client = new TestClient()) 1908using (var firstClient = new TestClient(userIdentifier: "userA")) 1909using (var secondClient = new TestClient(userIdentifier: "userB")) 1942using (var firstClient = new TestClient()) 1943using (var secondClient = new TestClient()) 1975using (var firstClient = new TestClient()) 1976using (var secondClient = new TestClient()) 2014using (var client = new TestClient(protocol: protocol, invocationBinder: invocationBinder.Object)) 2047using (var client = new TestClient()) 2096using (var client = new TestClient()) 2131using (var client1 = new TestClient(protocol: new NewtonsoftJsonHubProtocol())) 2132using (var client2 = new TestClient(protocol: new MessagePackHubProtocol())) 2207using (var client = new TestClient()) 2243using (var client = new TestClient()) 2282using (var client = new TestClient()) 2345using (var client = new TestClient()) 2389using (var client = new TestClient()) 2419using (var client = new TestClient()) 2458using (var client = new TestClient(protocol: new MessagePackHubProtocol(msgPackOptions))) 2496using (var client = new TestClient(protocol: new MessagePackHubProtocol(msgPackOptions))) 2520using (var client = new TestClient(protocol: new MessagePackHubProtocol(msgPackOptions))) 2552using (var client1 = new TestClient()) 2553using (var client2 = new TestClient()) 2616using (var client = new TestClient()) 2647using (var client = new TestClient()) 2671using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2700using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2747using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2809using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2845using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2878using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2908using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 3021using (var client = new TestClient(new JsonHubProtocol())) 3080using (var client = new TestClient(new JsonHubProtocol())) 3107using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 3150using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 3185using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 3220using (var client = new TestClient()) 3255using (var client = new TestClient()) 3290using (var client = new TestClient()) 3333using (var client = new TestClient()) 3388using (var client = new TestClient()) 3444using (var client = new TestClient()) 3515using (var client = new TestClient()) 3562using (var client = new TestClient()) 3599using (var client = new TestClient()) 3623using (var client = new TestClient()) 3646using (var client = new TestClient()) 3674using (var client = new TestClient()) 3738using (var client = new TestClient()) 3774using (var client = new TestClient()) 3804using (var client = new TestClient()) 3823using (var client = new TestClient()) 3846using (var client = new TestClient()) 3870using (var client = new TestClient()) 3901using (var client = new TestClient(protocol: testProtocol.Object)) 3921using (var client = new TestClient()) 3948using (var client = new TestClient()) 3973using (var client = new TestClient()) 3997using (var client = new TestClient()) 4017using (var client = new TestClient()) 4036using (var client = new TestClient()) 4058using (var client = new TestClient()) 4096using (var client = new TestClient()) 4133using (var client = new TestClient()) 4170using (var client = new TestClient()) 4216using (var client = new TestClient()) 4259using (var client = new TestClient(invocationBinder: invocationBinder.Object)) 4302using (var client = new TestClient()) 4333using (var client = new TestClient()) 4360using (var client = new TestClient()) 4386using (var client = new TestClient()) 4413using (TestClient client = new TestClient(invocationBinder: invocationBinder.Object)) 4481using (var client = new TestClient( 4515using (var client = new TestClient()) 4540using var client = new TestClient(); 4567using var client = new TestClient(); 4609using var client = new TestClient(); 4630using var client = new TestClient(); 4658using (var client = new TestClient()) 4675using (var client = new TestClient()) 4694using (var client = new TestClient()) 4713using (var client = new TestClient()) 4738using (var client = new TestClient()) 4760using (var client = new TestClient()) 4781using (var client = new TestClient()) 4802using (var client = new TestClient()) 4827using (var client = new TestClient()) 4850using (var client = new TestClient()) 4872using (var client = new TestClient()) 4892using (var client = new TestClient()) 4912using (var client = new TestClient()) 4935using (var client = new TestClient()) 4958using (var client = new TestClient()) 4982using (var client = new TestClient()) 5005using (var client = new TestClient()) 5028using (var client = new TestClient()) 5089using (var client1 = new TestClient()) 5090using (var client2 = new TestClient()) 5119using var client = new TestClient(); 5143using var client = new TestClient(); 5174using (var client = new TestClient()) 5202using (var client = new TestClient()) 5247using var client = new TestClient(); 5310using var client = new TestClient();
HubFilterTests.cs (18)
116using (var client = new TestClient()) 155using (var client = new TestClient()) 190using (var client = new TestClient()) 240using (var client = new TestClient()) 291using (var client = new TestClient()) 339using (var client = new TestClient()) 399using (var client = new TestClient()) 461using (var client = new TestClient()) 541using (var client = new TestClient()) 590using (var client = new TestClient()) 633using (var client = new TestClient()) 664using (var client = new TestClient()) 694using (var client = new TestClient()) 731using (var client = new TestClient()) 772using (var client = new TestClient()) 807using (var client = new TestClient()) 848using (var client = new TestClient()) 886using (var client = new TestClient())
234 references to TestClient
Microsoft.AspNetCore.SignalR.Microbenchmarks (4)
RedisHubLifetimeManagerBenchmark.cs (4)
21private TestClient[] _clients; 49async Task ConnectClient(TestClient client, IHubProtocol protocol, string userId, string groupName) 57_clients = new TestClient[ClientCount]; 103private async Task ConsumeAsync(TestClient testClient)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (4)
RedisHubLifetimeManagerTests.cs (4)
55using (var client1 = new TestClient()) 56using (var client2 = new TestClient()) 112using (var client = new TestClient()) 133using (var client = new TestClient())
Microsoft.AspNetCore.SignalR.Tests (226)
DefaultHubLifetimeManagerTests.cs (14)
26using (var client1 = new TestClient()) 27using (var client2 = new TestClient(pauseWriterThreshold: 2)) 56using (var client1 = new TestClient()) 57using (var client2 = new TestClient(pauseWriterThreshold: 2)) 83using (var client1 = new TestClient(pauseWriterThreshold: 2)) 105using (var client1 = new TestClient(pauseWriterThreshold: 2)) 127using (var client1 = new TestClient(pauseWriterThreshold: 2)) 150using (var client1 = new TestClient()) 151using (var client2 = new TestClient(pauseWriterThreshold: 2)) 179using (var client1 = new TestClient(pauseWriterThreshold: 2)) 202using (var client1 = new TestClient()) 203using (var client2 = new TestClient(pauseWriterThreshold: 2)) 232using (var client1 = new TestClient()) 233using (var client2 = new TestClient(pauseWriterThreshold: 2))
HubConnectionHandlerTests.Activity.cs (8)
50using (var client = new TestClient()) 125using (var client = new TestClient()) 196using (var client = new TestClient(invocationBinder: invocationBinder.Object)) 255using (var client = new TestClient(invocationBinder: invocationBinder.Object)) 326using (var client = new TestClient()) 373using (var client = new TestClient()) 425using (var client = new TestClient()) 476using (var client = new TestClient())
HubConnectionHandlerTests.ClientResult.cs (13)
21using (var client = new TestClient()) 54using (var client = new TestClient()) 86using (var client = new TestClient()) 113using (var client = new TestClient()) 138using var client = new TestClient(); 170using var client = new TestClient(); 204using var client = new TestClient(invocationBinder: new GetClientResultTwoWaysInvocationBinder()); 239using (var client = new TestClient()) 293using (var client = new TestClient()) 362using var client = new TestClient(hubProtocol, new TestBinder()); 407using var client = new TestClient(); 452using (var client = new TestClient()) 493using (var client = new TestClient(invocationBinder: invocationBinder.Object))
HubConnectionHandlerTests.cs (173)
47using (var client = new TestClient()) 75using (var client = new TestClient()) 101using (var client = new TestClient()) 125using (var client = new TestClient()) 151using (var client = new TestClient()) 175using (var client = new TestClient()) 203using (var client = new TestClient()) 259using (var client = new TestClient(protocol: hubProtocolMock.Object)) 283using (var client = new TestClient(protocol: new MessagePackHubProtocol())) 313using (var client = new TestClient()) 343using (var client = new TestClient()) 386using (var client = new TestClient()) 425using (var client = new TestClient()) 462using (var client = new TestClient()) 487using (var client = new TestClient()) 516using (var client = new TestClient()) 550using (var client = new TestClient()) 601using (var client = new TestClient()) 644using (var client = new TestClient(protocol: hubProtocolMock.Object)) 665using (var client = new TestClient()) 706using (var client = new TestClient()) 747using (var client = new TestClient()) 779using (var client = new TestClient()) 802using (var client = new TestClient()) 828using (var client = new TestClient()) 854using (var client = new TestClient()) 878using (var client = new TestClient()) 924using (var client = new TestClient()) 956using (var client = new TestClient()) 993using (var client = new TestClient()) 1018using (var client = new TestClient()) 1047using (var client = new TestClient()) 1072using (var client = new TestClient()) 1098using (var client = new TestClient()) 1133using (var client = new TestClient()) 1161using (var client = new TestClient()) 1186using (var client = new TestClient()) 1211using (var client = new TestClient()) 1236using (var client = new TestClient()) 1280using (var client = new TestClient()) 1305using (var client = new TestClient()) 1338using (var client = new TestClient()) 1375using (var firstClient = new TestClient()) 1376using (var secondClient = new TestClient()) 1413using (var firstClient = new TestClient()) 1414using (var secondClient = new TestClient()) 1451using (var firstClient = new TestClient()) 1452using (var secondClient = new TestClient()) 1492using (var firstClient = new TestClient()) 1493using (var secondClient = new TestClient()) 1535using (var firstClient = new TestClient()) 1555using (var firstClient = new TestClient()) 1556using (var secondClient = new TestClient()) 1557using (var thirdClient = new TestClient()) 1601using (var firstClient = new TestClient()) 1602using (var secondClient = new TestClient()) 1603using (var thirdClient = new TestClient()) 1649using (var firstClient = new TestClient(userIdentifier: "userA")) 1650using (var secondClient = new TestClient(userIdentifier: "userB")) 1651using (var thirdClient = new TestClient(userIdentifier: "userC")) 1694using (var firstClient = new TestClient()) 1695using (var secondClient = new TestClient()) 1738using (var firstClient = new TestClient()) 1739using (var secondClient = new TestClient()) 1791using (var firstClient = new TestClient()) 1792using (var secondClient = new TestClient()) 1842using (var firstClient = new TestClient()) 1843using (var secondClient = new TestClient()) 1886using (var client = new TestClient()) 1908using (var firstClient = new TestClient(userIdentifier: "userA")) 1909using (var secondClient = new TestClient(userIdentifier: "userB")) 1942using (var firstClient = new TestClient()) 1943using (var secondClient = new TestClient()) 1975using (var firstClient = new TestClient()) 1976using (var secondClient = new TestClient()) 2014using (var client = new TestClient(protocol: protocol, invocationBinder: invocationBinder.Object)) 2047using (var client = new TestClient()) 2096using (var client = new TestClient()) 2131using (var client1 = new TestClient(protocol: new NewtonsoftJsonHubProtocol())) 2132using (var client2 = new TestClient(protocol: new MessagePackHubProtocol())) 2207using (var client = new TestClient()) 2243using (var client = new TestClient()) 2282using (var client = new TestClient()) 2345using (var client = new TestClient()) 2389using (var client = new TestClient()) 2419using (var client = new TestClient()) 2458using (var client = new TestClient(protocol: new MessagePackHubProtocol(msgPackOptions))) 2496using (var client = new TestClient(protocol: new MessagePackHubProtocol(msgPackOptions))) 2520using (var client = new TestClient(protocol: new MessagePackHubProtocol(msgPackOptions))) 2552using (var client1 = new TestClient()) 2553using (var client2 = new TestClient()) 2616using (var client = new TestClient()) 2647using (var client = new TestClient()) 2671using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2700using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2747using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2809using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2845using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2878using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2908using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 3021using (var client = new TestClient(new JsonHubProtocol())) 3080using (var client = new TestClient(new JsonHubProtocol())) 3107using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 3150using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 3185using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 3220using (var client = new TestClient()) 3255using (var client = new TestClient()) 3290using (var client = new TestClient()) 3333using (var client = new TestClient()) 3388using (var client = new TestClient()) 3444using (var client = new TestClient()) 3515using (var client = new TestClient()) 3562using (var client = new TestClient()) 3599using (var client = new TestClient()) 3623using (var client = new TestClient()) 3646using (var client = new TestClient()) 3674using (var client = new TestClient()) 3738using (var client = new TestClient()) 3774using (var client = new TestClient()) 3804using (var client = new TestClient()) 3823using (var client = new TestClient()) 3846using (var client = new TestClient()) 3870using (var client = new TestClient()) 3901using (var client = new TestClient(protocol: testProtocol.Object)) 3921using (var client = new TestClient()) 3948using (var client = new TestClient()) 3973using (var client = new TestClient()) 3997using (var client = new TestClient()) 4017using (var client = new TestClient()) 4036using (var client = new TestClient()) 4058using (var client = new TestClient()) 4096using (var client = new TestClient()) 4133using (var client = new TestClient()) 4170using (var client = new TestClient()) 4216using (var client = new TestClient()) 4259using (var client = new TestClient(invocationBinder: invocationBinder.Object)) 4302using (var client = new TestClient()) 4333using (var client = new TestClient()) 4360using (var client = new TestClient()) 4386using (var client = new TestClient()) 4413using (TestClient client = new TestClient(invocationBinder: invocationBinder.Object)) 4481using (var client = new TestClient( 4515using (var client = new TestClient()) 4540using var client = new TestClient(); 4567using var client = new TestClient(); 4609using var client = new TestClient(); 4630using var client = new TestClient(); 4658using (var client = new TestClient()) 4675using (var client = new TestClient()) 4694using (var client = new TestClient()) 4713using (var client = new TestClient()) 4738using (var client = new TestClient()) 4760using (var client = new TestClient()) 4781using (var client = new TestClient()) 4802using (var client = new TestClient()) 4827using (var client = new TestClient()) 4850using (var client = new TestClient()) 4872using (var client = new TestClient()) 4892using (var client = new TestClient()) 4912using (var client = new TestClient()) 4935using (var client = new TestClient()) 4958using (var client = new TestClient()) 4982using (var client = new TestClient()) 5005using (var client = new TestClient()) 5028using (var client = new TestClient()) 5089using (var client1 = new TestClient()) 5090using (var client2 = new TestClient()) 5119using var client = new TestClient(); 5143using var client = new TestClient(); 5174using (var client = new TestClient()) 5202using (var client = new TestClient()) 5247using var client = new TestClient(); 5310using var client = new TestClient();
HubFilterTests.cs (18)
116using (var client = new TestClient()) 155using (var client = new TestClient()) 190using (var client = new TestClient()) 240using (var client = new TestClient()) 291using (var client = new TestClient()) 339using (var client = new TestClient()) 399using (var client = new TestClient()) 461using (var client = new TestClient()) 541using (var client = new TestClient()) 590using (var client = new TestClient()) 633using (var client = new TestClient()) 664using (var client = new TestClient()) 694using (var client = new TestClient()) 731using (var client = new TestClient()) 772using (var client = new TestClient()) 807using (var client = new TestClient()) 848using (var client = new TestClient()) 886using (var client = new TestClient())