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();
263
await clientStream.WriteAsync(
TestData
).DefaultTimeout();
266
var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).DefaultTimeout();
307
await clientStream.WriteAsync(
TestData
, completeWrites: true).DefaultTimeout();
310
var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).DefaultTimeout();
341
await clientStream.WriteAsync(
TestData
).DefaultTimeout();
344
var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).DefaultTimeout();
380
await clientStream.WriteAsync(
TestData
).DefaultTimeout();
383
var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).DefaultTimeout();
388
await clientStream.WriteAsync(
TestData
, completeWrites: true).DefaultTimeout();
393
Assert.Equal(
TestData
, completeReadResult.Buffer.ToArray());
413
await serverStream.Transport.Output.WriteAsync(
TestData
).DefaultTimeout();
417
var data = await clientStream.ReadAtLeastLengthAsync(
TestData
.Length).DefaultTimeout();
419
Assert.Equal(
TestData
, data);
454
await serverStream.Transport.Output.WriteAsync(
TestData
).DefaultTimeout();
458
var data = await clientStream.ReadAtLeastLengthAsync(
TestData
.Length).DefaultTimeout();
460
Assert.Equal(
TestData
, data);
496
await clientStream.WriteAsync(
TestData
).DefaultTimeout();
500
var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).DefaultTimeout();
503
var serverReadTask = serverStream.Transport.Input.ReadAtLeastAsync(
TestData
.Length).AsTask();
512
await serverStream.Transport.Output.WriteAsync(
TestData
).DefaultTimeout();
518
Assert.Equal(
TestData
, data);
546
await clientStream.WriteAsync(
TestData
).DefaultTimeout();
573
await clientStream.WriteAsync(
TestData
).DefaultTimeout();