50 references to _helloWorldBytes
InMemory.FunctionalTests (50)
Http2\Http2ConnectionTests.cs (28)
782await SendDataAsync(1, _helloWorldBytes, endStream: true); 800Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 971for (var i = 0; i < _helloWorldBytes.Length; i++) 973await SendDataAsync(1, new ArraySegment<byte>(_helloWorldBytes, i, 1), endStream: false); 994Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 1260await SendDataWithPaddingAsync(1, _helloWorldBytes, padLength, endStream: true); 1278Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 1576await SendDataAsync(1, _helloWorldBytes, endStream: true); 1591await SendDataAsync(1, _helloWorldBytes, endStream: false); 1609await SendDataAsync(1, _helloWorldBytes, endStream: false); 1631await SendDataAsync(1, _helloWorldBytes, endStream: false); 1848await SendDataAsync(1, _helloWorldBytes, endStream: true); 3331var initialWindowSize = _helloWorldBytes.Length / 2; 3355await context.Response.Body.WriteAsync(_helloWorldBytes, 0, _helloWorldBytes.Length); 3383Assert.True(_helloWorldBytes.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame.PayloadSequence.ToArray())); 4341var initialWindowSize = _helloWorldBytes.Length / 2; 4365await context.Response.Body.WriteAsync(_helloWorldBytes, 0, _helloWorldBytes.Length); 4393Assert.True(_helloWorldBytes.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame.PayloadSequence.ToArray())); 4687var initialWindowSize = _helloWorldBytes.Length / 2; 4695await SendDataAsync(1, _helloWorldBytes, endStream: true); 4721Assert.True(_helloWorldBytes.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame1.PayloadSequence.ToArray())); 4722Assert.True(_helloWorldBytes.AsSpan(initialWindowSize, initialWindowSize).SequenceEqual(dataFrame2.PayloadSequence.ToArray())); 4734await SendDataAsync(1, _helloWorldBytes, endStream: true); 4776Assert.True(_helloWorldBytes.AsSpan(0, 6).SequenceEqual(dataFrame1.PayloadSequence.ToArray())); 4777Assert.True(_helloWorldBytes.AsSpan(6, 3).SequenceEqual(dataFrame2.PayloadSequence.ToArray())); 4778Assert.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, 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;