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