50 references to _helloWorldBytes
InMemory.FunctionalTests (50)
Http2\Http2ConnectionTests.cs (28)
783await SendDataAsync(1, _helloWorldBytes, endStream: true); 801Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 972for (var i = 0; i < _helloWorldBytes.Length; i++) 974await SendDataAsync(1, new ArraySegment<byte>(_helloWorldBytes, i, 1), endStream: false); 995Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 1261await SendDataWithPaddingAsync(1, _helloWorldBytes, padLength, endStream: true); 1279Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 1577await SendDataAsync(1, _helloWorldBytes, endStream: true); 1592await SendDataAsync(1, _helloWorldBytes, endStream: false); 1610await SendDataAsync(1, _helloWorldBytes, endStream: false); 1632await SendDataAsync(1, _helloWorldBytes, endStream: false); 1849await SendDataAsync(1, _helloWorldBytes, endStream: true); 3454var initialWindowSize = _helloWorldBytes.Length / 2; 3478await context.Response.Body.WriteAsync(_helloWorldBytes, 0, _helloWorldBytes.Length); 3506Assert.True(_helloWorldBytes.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame.PayloadSequence.ToArray())); 4472var initialWindowSize = _helloWorldBytes.Length / 2; 4496await context.Response.Body.WriteAsync(_helloWorldBytes, 0, _helloWorldBytes.Length); 4524Assert.True(_helloWorldBytes.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame.PayloadSequence.ToArray())); 4818var initialWindowSize = _helloWorldBytes.Length / 2; 4826await SendDataAsync(1, _helloWorldBytes, endStream: true); 4852Assert.True(_helloWorldBytes.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame1.PayloadSequence.ToArray())); 4853Assert.True(_helloWorldBytes.AsSpan(initialWindowSize, initialWindowSize).SequenceEqual(dataFrame2.PayloadSequence.ToArray())); 4865await SendDataAsync(1, _helloWorldBytes, endStream: true); 4907Assert.True(_helloWorldBytes.AsSpan(0, 6).SequenceEqual(dataFrame1.PayloadSequence.ToArray())); 4908Assert.True(_helloWorldBytes.AsSpan(6, 3).SequenceEqual(dataFrame2.PayloadSequence.ToArray())); 4909Assert.True(_helloWorldBytes.AsSpan(9, 3).SequenceEqual(dataFrame3.PayloadSequence.ToArray()));
Http2\Http2StreamTests.cs (8)
1626Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 1744Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 3908Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 3954Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 4105Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 4155Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 4200Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 5896Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame1.PayloadSequence.ToArray()));
Http2\Http2TimeoutTests.cs (14)
160await SendDataAsync(1, _helloWorldBytes, endStream: true); 166withLength: _helloWorldBytes.Length, 363await SendDataAsync(1, _helloWorldBytes, endStream: true); 376AdvanceTime(TimeSpan.FromSeconds((_bytesReceived + _helloWorldBytes.Length) / limits.MinResponseDataRate.BytesPerSecond) + 387withLength: _helloWorldBytes.Length, 470await SendDataAsync(1, _helloWorldBytes, endStream: true); 639await StartStreamAsync(1, ReadRateRequestHeaders(_helloWorldBytes.Length), endStream: false); 640await SendDataAsync(1, _helloWorldBytes, endStream: false); 877await StartStreamAsync(1, ReadRateRequestHeaders(_helloWorldBytes.Length), endStream: false); 878await SendDataAsync(1, _helloWorldBytes, endStream: false); 899await SendDataAsync(1, _helloWorldBytes, endStream: true); 947await StartStreamAsync(3, ReadRateRequestHeaders(_helloWorldBytes.Length), endStream: false); 948await SendDataAsync(3, _helloWorldBytes, endStream: false); 977var expectedUpdateSize = ((framesConnectionInWindow / 2) + 1) * _maxData.Length + _helloWorldBytes.Length;