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