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