1 write to StartedMethod
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTestUtils\Hubs.cs (1)
1221
StartedMethod
= new TaskCompletionSource<object>(TaskCreationOptions.RunContinuationsAsynchronously);
48 references to StartedMethod
Microsoft.AspNetCore.SignalR.Tests (48)
HubConnectionHandlerTests.ClientResult.cs (1)
299
tcsService.
StartedMethod
.SetResult(null);
HubConnectionHandlerTests.cs (14)
3032
await tcsService.
StartedMethod
.Task.DefaultTimeout();
3088
await tcsService.
StartedMethod
.Task.DefaultTimeout();
3340
await tcsService.
StartedMethod
.Task.DefaultTimeout();
3395
await tcsService.
StartedMethod
.Task.DefaultTimeout();
3451
await tcsService.
StartedMethod
.Task.DefaultTimeout();
3459
await tcsService.
StartedMethod
.Task.DefaultTimeout();
3522
await tcsService.
StartedMethod
.Task.DefaultTimeout();
3714
_tcsService.
StartedMethod
.SetResult(null);
3742
await tcsService.
StartedMethod
.Task.DefaultTimeout();
3778
await tcsService.
StartedMethod
.Task.DefaultTimeout();
4222
await tcsService.
StartedMethod
.Task.DefaultTimeout();
4308
await tcsService.
StartedMethod
.Task.DefaultTimeout();
4339
var firstArgument = await tcsService.
StartedMethod
.Task.DefaultTimeout();
4366
var firstArgument = await tcsService.
StartedMethod
.Task.DefaultTimeout();
HubConnectionHandlerTestUtils\Hubs.cs (13)
351
await tcsService.
StartedMethod
.Task;
1020
_tcsService.
StartedMethod
.TrySetResult(null);
1027
_tcsService.
StartedMethod
.TrySetResult(null);
1039
_tcsService.
StartedMethod
.SetResult(null);
1054
_tcsService.
StartedMethod
.SetResult(null);
1069
_tcsService.
StartedMethod
.SetResult(x);
1084
_tcsService.
StartedMethod
.SetResult(x);
1099
_tcsService.
StartedMethod
.SetResult(null);
1110
_tcsService.
StartedMethod
.SetResult(null);
1123
_tcsService.
StartedMethod
.SetResult(null);
1140
_tcsService.
StartedMethod
.SetResult(null);
1161
_tcsService.
StartedMethod
.SetResult(null);
1200
_tcsService.
StartedMethod
.SetResult(null);
HubFilterTests.cs (15)
120
await tcsService.
StartedMethod
.Task.DefaultTimeout();
194
await tcsService1.
StartedMethod
.Task.DefaultTimeout();
195
await tcsService2.
StartedMethod
.Task.DefaultTimeout();
244
await tcsService1.
StartedMethod
.Task.DefaultTimeout();
245
await tcsService2.
StartedMethod
.Task.DefaultTimeout();
295
await tcsService1.
StartedMethod
.Task.DefaultTimeout();
296
await tcsService2.
StartedMethod
.Task.DefaultTimeout();
736
await tcsService.
StartedMethod
.Task.DefaultTimeout();
741
await tcsService.
StartedMethod
.Task.DefaultTimeout();
747
await tcsService.
StartedMethod
.Task.DefaultTimeout();
783
Assert.False(tcsService.
StartedMethod
.Task.IsCompleted);
812
await tcsService.
StartedMethod
.Task.DefaultTimeout();
817
await tcsService.
StartedMethod
.Task.DefaultTimeout();
823
await tcsService.
StartedMethod
.Task.DefaultTimeout();
859
Assert.False(tcsService.
StartedMethod
.Task.IsCompleted);
TestFilters.cs (5)
21
_service.
StartedMethod
.TrySetResult(null);
28
_service.
StartedMethod
.TrySetResult(null);
37
_service.
StartedMethod
.TrySetResult(null);
197
_tcsService.
StartedMethod
.SetResult(null);
217
_tcsService.
StartedMethod
.SetResult(null);