2 writes to Application
Microsoft.AspNetCore.SignalR.Tests (2)
Internal\MessageBufferTests.cs (2)
538
Application
= application;
550
duplexPipePair.
Application
= applicationToTransport;
56 references to Application
Microsoft.AspNetCore.SignalR.Tests (56)
Internal\MessageBufferTests.cs (56)
34
var res = await pipes.
Application
.Input.ReadAsync().DefaultTimeout();
40
pipes.
Application
.Input.AdvanceTo(buffer.Start);
59
var res = await pipes.
Application
.Input.ReadAsync();
65
pipes.
Application
.Input.AdvanceTo(buffer.Start);
73
res = await pipes.
Application
.Input.ReadAsync().DefaultTimeout();
79
pipes.
Application
.Input.AdvanceTo(buffer.Start);
101
var res = await pipes.
Application
.Input.ReadAsync();
106
pipes.
Application
.Input.AdvanceTo(buffer.Start);
110
res = await pipes.
Application
.Input.ReadAsync();
115
pipes.
Application
.Input.AdvanceTo(buffer.Start);
118
Assert.False(pipes.
Application
.Input.TryRead(out res));
134
var res = await pipes.
Application
.Input.ReadAsync();
140
pipes.
Application
.Input.AdvanceTo(buffer.Start);
149
res = await pipes.
Application
.Input.ReadAsync();
156
pipes.
Application
.Input.AdvanceTo(buffer.Start);
158
res = await pipes.
Application
.Input.ReadAsync();
164
pipes.
Application
.Input.AdvanceTo(buffer.Start);
183
var res = await pipes.
Application
.Input.ReadAsync();
189
pipes.
Application
.Input.AdvanceTo(buffer.Start);
196
res = await pipes.
Application
.Input.ReadAsync();
203
pipes.
Application
.Input.AdvanceTo(buffer.Start);
207
res = await pipes.
Application
.Input.ReadAsync();
213
pipes.
Application
.Input.AdvanceTo(buffer.Start);
228
var res = await pipes.
Application
.Input.ReadAsync();
235
pipes.
Application
.Input.AdvanceTo(buffer.Start);
260
var res = await pipes.
Application
.Input.ReadAsync();
267
pipes.
Application
.Input.AdvanceTo(buffer.Start);
271
res = await pipes.
Application
.Input.ReadAsync();
277
pipes.
Application
.Input.AdvanceTo(buffer.Start);
280
Assert.False(pipes.
Application
.Input.TryRead(out res));
297
var res = await pipes.
Application
.Input.ReadAsync();
303
pipes.
Application
.Input.AdvanceTo(buffer.Start);
311
res = await pipes.
Application
.Input.ReadAsync().DefaultTimeout();
317
pipes.
Application
.Input.AdvanceTo(buffer.Start);
332
pipes.
Application
.Input.Complete();
342
var res = await pipes.
Application
.Input.ReadAsync();
347
pipes.
Application
.Input.AdvanceTo(buffer.Start);
351
res = await pipes.
Application
.Input.ReadAsync();
356
pipes.
Application
.Input.AdvanceTo(buffer.Start);
359
Assert.False(pipes.
Application
.Input.TryRead(out res));
378
var res = await pipes.
Application
.Input.ReadAsync();
382
pipes.
Application
.Input.AdvanceTo(buffer.Start);
390
res = await pipes.
Application
.Input.ReadAsync();
394
pipes.
Application
.Input.AdvanceTo(buffer.Start);
422
var res = await pipes.
Application
.Input.ReadAsync();
426
pipes.
Application
.Input.AdvanceTo(buffer.Start);
430
res = await pipes.
Application
.Input.ReadAsync();
434
pipes.
Application
.Input.AdvanceTo(buffer.Start);
469
var res = await pipes.
Application
.Input.ReadAsync();
473
pipes.
Application
.Input.AdvanceTo(buffer.Start);
479
res = await pipes.
Application
.Input.ReadAsync();
483
pipes.
Application
.Input.AdvanceTo(buffer.Start);
488
res = await pipes.
Application
.Input.ReadAsync();
492
pipes.
Application
.Input.AdvanceTo(buffer.Start);
494
Assert.False(pipes.
Application
.Input.TryRead(out res));
548
var applicationToTransport = new DuplexPipe(input.Reader, duplexPipePair.
Application
.Output);