50 references to _helloWorldBytes
InMemory.FunctionalTests (50)
Http2\Http2ConnectionTests.cs (28)
758await SendDataAsync(1, _helloWorldBytes, endStream: true); 776Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 947for (var i = 0; i < _helloWorldBytes.Length; i++) 949await SendDataAsync(1, new ArraySegment<byte>(_helloWorldBytes, i, 1), endStream: false); 970Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 1236await SendDataWithPaddingAsync(1, _helloWorldBytes, padLength, endStream: true); 1254Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 1552await SendDataAsync(1, _helloWorldBytes, endStream: true); 1567await SendDataAsync(1, _helloWorldBytes, endStream: false); 1585await SendDataAsync(1, _helloWorldBytes, endStream: false); 1607await SendDataAsync(1, _helloWorldBytes, endStream: false); 1824await SendDataAsync(1, _helloWorldBytes, endStream: true); 3307var initialWindowSize = _helloWorldBytes.Length / 2; 3331await context.Response.Body.WriteAsync(_helloWorldBytes, 0, _helloWorldBytes.Length); 3359Assert.True(_helloWorldBytes.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame.PayloadSequence.ToArray())); 4314var initialWindowSize = _helloWorldBytes.Length / 2; 4338await context.Response.Body.WriteAsync(_helloWorldBytes, 0, _helloWorldBytes.Length); 4366Assert.True(_helloWorldBytes.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame.PayloadSequence.ToArray())); 4660var initialWindowSize = _helloWorldBytes.Length / 2; 4668await SendDataAsync(1, _helloWorldBytes, endStream: true); 4694Assert.True(_helloWorldBytes.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame1.PayloadSequence.ToArray())); 4695Assert.True(_helloWorldBytes.AsSpan(initialWindowSize, initialWindowSize).SequenceEqual(dataFrame2.PayloadSequence.ToArray())); 4707await SendDataAsync(1, _helloWorldBytes, endStream: true); 4749Assert.True(_helloWorldBytes.AsSpan(0, 6).SequenceEqual(dataFrame1.PayloadSequence.ToArray())); 4750Assert.True(_helloWorldBytes.AsSpan(6, 3).SequenceEqual(dataFrame2.PayloadSequence.ToArray())); 4751Assert.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())); 5876Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame1.PayloadSequence.ToArray()));
Http2\Http2TimeoutTests.cs (14)
160await SendDataAsync(1, _helloWorldBytes, endStream: true); 166withLength: _helloWorldBytes.Length, 362await SendDataAsync(1, _helloWorldBytes, endStream: true); 375AdvanceTime(TimeSpan.FromSeconds((_bytesReceived + _helloWorldBytes.Length) / limits.MinResponseDataRate.BytesPerSecond) + 386withLength: _helloWorldBytes.Length, 469await SendDataAsync(1, _helloWorldBytes, endStream: true); 638await StartStreamAsync(1, ReadRateRequestHeaders(_helloWorldBytes.Length), endStream: false); 639await SendDataAsync(1, _helloWorldBytes, endStream: false); 876await StartStreamAsync(1, ReadRateRequestHeaders(_helloWorldBytes.Length), endStream: false); 877await SendDataAsync(1, _helloWorldBytes, endStream: false); 898await SendDataAsync(1, _helloWorldBytes, endStream: true); 946await StartStreamAsync(3, ReadRateRequestHeaders(_helloWorldBytes.Length), endStream: false); 947await SendDataAsync(3, _helloWorldBytes, endStream: false); 976var expectedUpdateSize = ((framesConnectionInWindow / 2) + 1) * _maxData.Length + _helloWorldBytes.Length;