50 references to _helloWorldBytes
InMemory.FunctionalTests (50)
Http2\Http2ConnectionTests.cs (28)
782
await SendDataAsync(1,
_helloWorldBytes
, endStream: true);
800
Assert.True(
_helloWorldBytes
.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray()));
971
for (var i = 0; i <
_helloWorldBytes
.Length; i++)
973
await SendDataAsync(1, new ArraySegment<byte>(
_helloWorldBytes
, i, 1), endStream: false);
994
Assert.True(
_helloWorldBytes
.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray()));
1260
await SendDataWithPaddingAsync(1,
_helloWorldBytes
, padLength, endStream: true);
1278
Assert.True(
_helloWorldBytes
.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray()));
1576
await SendDataAsync(1,
_helloWorldBytes
, endStream: true);
1591
await SendDataAsync(1,
_helloWorldBytes
, endStream: false);
1609
await SendDataAsync(1,
_helloWorldBytes
, endStream: false);
1631
await SendDataAsync(1,
_helloWorldBytes
, endStream: false);
1848
await SendDataAsync(1,
_helloWorldBytes
, endStream: true);
3331
var initialWindowSize =
_helloWorldBytes
.Length / 2;
3355
await context.Response.Body.WriteAsync(
_helloWorldBytes
, 0,
_helloWorldBytes
.Length);
3383
Assert.True(
_helloWorldBytes
.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame.PayloadSequence.ToArray()));
4341
var initialWindowSize =
_helloWorldBytes
.Length / 2;
4365
await context.Response.Body.WriteAsync(
_helloWorldBytes
, 0,
_helloWorldBytes
.Length);
4393
Assert.True(
_helloWorldBytes
.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame.PayloadSequence.ToArray()));
4687
var initialWindowSize =
_helloWorldBytes
.Length / 2;
4695
await SendDataAsync(1,
_helloWorldBytes
, endStream: true);
4721
Assert.True(
_helloWorldBytes
.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame1.PayloadSequence.ToArray()));
4722
Assert.True(
_helloWorldBytes
.AsSpan(initialWindowSize, initialWindowSize).SequenceEqual(dataFrame2.PayloadSequence.ToArray()));
4734
await SendDataAsync(1,
_helloWorldBytes
, endStream: true);
4776
Assert.True(
_helloWorldBytes
.AsSpan(0, 6).SequenceEqual(dataFrame1.PayloadSequence.ToArray()));
4777
Assert.True(
_helloWorldBytes
.AsSpan(6, 3).SequenceEqual(dataFrame2.PayloadSequence.ToArray()));
4778
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,
362
await SendDataAsync(1,
_helloWorldBytes
, endStream: true);
375
AdvanceTime(TimeSpan.FromSeconds((_bytesReceived +
_helloWorldBytes
.Length) / limits.MinResponseDataRate.BytesPerSecond) +
386
withLength:
_helloWorldBytes
.Length,
469
await SendDataAsync(1,
_helloWorldBytes
, endStream: true);
638
await StartStreamAsync(1, ReadRateRequestHeaders(
_helloWorldBytes
.Length), endStream: false);
639
await SendDataAsync(1,
_helloWorldBytes
, endStream: false);
876
await StartStreamAsync(1, ReadRateRequestHeaders(
_helloWorldBytes
.Length), endStream: false);
877
await SendDataAsync(1,
_helloWorldBytes
, endStream: false);
898
await SendDataAsync(1,
_helloWorldBytes
, endStream: true);
946
await StartStreamAsync(3, ReadRateRequestHeaders(
_helloWorldBytes
.Length), endStream: false);
947
await SendDataAsync(3,
_helloWorldBytes
, endStream: false);
976
var expectedUpdateSize = ((framesConnectionInWindow / 2) + 1) * _maxData.Length +
_helloWorldBytes
.Length;