30 references to TestData
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (30)
QuicConnectionContextTests.cs (30)
103await clientStream.WriteAsync(TestData);
109var read = await serverStream.Transport.Input.ReadAtLeastAsync(TestData.Length).DefaultTimeout();
110Assert.Equal(TestData, read.Buffer.ToArray());
162await clientStream.WriteAsync(TestData);
174var read = await serverStream.Transport.Input.ReadAtLeastAsync(TestData.Length).DefaultTimeout();
175Assert.Equal(TestData, read.Buffer.ToArray());
204await clientStream.WriteAsync(TestData);
207await serverStream.Transport.Output.WriteAsync(TestData);
217var read = await serverStream.Transport.Input.ReadAtLeastAsync(TestData.Length).DefaultTimeout();
218Assert.Equal(TestData, read.Buffer.ToArray());
222var data = await clientStream.ReadAtLeastLengthAsync(TestData.Length).DefaultTimeout();
224Assert.Equal(TestData, data);
254await serverStream.Transport.Output.WriteAsync(TestData).DefaultTimeout();
268if (data.Count == TestData.Length)
273Assert.Equal(TestData, data);
329await clientStream.WriteAsync(TestData, completeWrites: true).DefaultTimeout();
331var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(TestData.Length).DefaultTimeout();
372await clientStream.WriteAsync(TestData, completeWrites: true).DefaultTimeout();
374var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(TestData.Length).DefaultTimeout();
417await clientStream.WriteAsync(TestData).DefaultTimeout();
420var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(TestData.Length).DefaultTimeout();
466await clientStream.WriteAsync(TestData).DefaultTimeout();
469var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(TestData.Length).DefaultTimeout();
607await clientStream.WriteAsync(TestData, completeWrites: true).DefaultTimeout();
612var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(TestData.Length).DefaultTimeout();
678await clientStream1.WriteAsync(TestData, completeWrites: true).DefaultTimeout();
684var readResult1 = await serverStream1.Transport.Input.ReadAtLeastAsync(TestData.Length).DefaultTimeout();
706await clientStream2.WriteAsync(TestData, completeWrites: true).DefaultTimeout();
712var readResult2 = await serverStream2.Transport.Input.ReadAtLeastAsync(TestData.Length).DefaultTimeout();
756await clientStream.WriteAsync(TestData).DefaultTimeout();