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