30 references to TestData
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (30)
QuicStreamContextTests.cs (30)
68
await clientStream.WriteAsync(
TestData
).DefaultTimeout();
70
var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).DefaultTimeout();
73
await clientStream.WriteAsync(
TestData
).DefaultTimeout();
117
await clientStream.WriteAsync(
TestData
).DefaultTimeout();
123
var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).DefaultTimeout();
185
await clientStream.WriteAsync(
TestData
, completeWrites: true).DefaultTimeout();
189
var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).DefaultTimeout();
264
await clientStream.WriteAsync(
TestData
).DefaultTimeout();
267
var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).DefaultTimeout();
308
await clientStream.WriteAsync(
TestData
, completeWrites: true).DefaultTimeout();
311
var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).DefaultTimeout();
342
await clientStream.WriteAsync(
TestData
).DefaultTimeout();
345
var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).DefaultTimeout();
381
await clientStream.WriteAsync(
TestData
).DefaultTimeout();
384
var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).DefaultTimeout();
389
await clientStream.WriteAsync(
TestData
, completeWrites: true).DefaultTimeout();
394
Assert.Equal(
TestData
, completeReadResult.Buffer.ToArray());
414
await serverStream.Transport.Output.WriteAsync(
TestData
).DefaultTimeout();
418
var data = await clientStream.ReadAtLeastLengthAsync(
TestData
.Length).DefaultTimeout();
420
Assert.Equal(
TestData
, data);
455
await serverStream.Transport.Output.WriteAsync(
TestData
).DefaultTimeout();
459
var data = await clientStream.ReadAtLeastLengthAsync(
TestData
.Length).DefaultTimeout();
461
Assert.Equal(
TestData
, data);
497
await clientStream.WriteAsync(
TestData
).DefaultTimeout();
501
var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).DefaultTimeout();
504
var serverReadTask = serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).AsTask();
513
await serverStream.Transport.Output.WriteAsync(
TestData
).DefaultTimeout();
519
Assert.Equal(
TestData
, data);
547
await clientStream.WriteAsync(
TestData
).DefaultTimeout();
574
await clientStream.WriteAsync(
TestData
).DefaultTimeout();