50 references to _helloWorldBytes
InMemory.FunctionalTests (50)
Http2\Http2ConnectionTests.cs (28)
774await SendDataAsync(1, _helloWorldBytes, endStream: true); 792Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 963for (var i = 0; i < _helloWorldBytes.Length; i++) 965await SendDataAsync(1, new ArraySegment<byte>(_helloWorldBytes, i, 1), endStream: false); 986Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 1252await SendDataWithPaddingAsync(1, _helloWorldBytes, padLength, endStream: true); 1270Assert.True(_helloWorldBytes.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray())); 1568await SendDataAsync(1, _helloWorldBytes, endStream: true); 1583await SendDataAsync(1, _helloWorldBytes, endStream: false); 1601await SendDataAsync(1, _helloWorldBytes, endStream: false); 1623await SendDataAsync(1, _helloWorldBytes, endStream: false); 1840await SendDataAsync(1, _helloWorldBytes, endStream: true); 3323var initialWindowSize = _helloWorldBytes.Length / 2; 3347await context.Response.Body.WriteAsync(_helloWorldBytes, 0, _helloWorldBytes.Length); 3375Assert.True(_helloWorldBytes.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame.PayloadSequence.ToArray())); 4330var initialWindowSize = _helloWorldBytes.Length / 2; 4354await context.Response.Body.WriteAsync(_helloWorldBytes, 0, _helloWorldBytes.Length); 4382Assert.True(_helloWorldBytes.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame.PayloadSequence.ToArray())); 4676var initialWindowSize = _helloWorldBytes.Length / 2; 4684await SendDataAsync(1, _helloWorldBytes, endStream: true); 4710Assert.True(_helloWorldBytes.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame1.PayloadSequence.ToArray())); 4711Assert.True(_helloWorldBytes.AsSpan(initialWindowSize, initialWindowSize).SequenceEqual(dataFrame2.PayloadSequence.ToArray())); 4723await SendDataAsync(1, _helloWorldBytes, endStream: true); 4765Assert.True(_helloWorldBytes.AsSpan(0, 6).SequenceEqual(dataFrame1.PayloadSequence.ToArray())); 4766Assert.True(_helloWorldBytes.AsSpan(6, 3).SequenceEqual(dataFrame2.PayloadSequence.ToArray())); 4767Assert.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;