50 references to _helloWorldBytes
InMemory.FunctionalTests (50)
Http2\Http2ConnectionTests.cs (28)
758
await SendDataAsync(1,
_helloWorldBytes
, endStream: true);
776
Assert.True(
_helloWorldBytes
.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray()));
947
for (var i = 0; i <
_helloWorldBytes
.Length; i++)
949
await SendDataAsync(1, new ArraySegment<byte>(
_helloWorldBytes
, i, 1), endStream: false);
970
Assert.True(
_helloWorldBytes
.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray()));
1236
await SendDataWithPaddingAsync(1,
_helloWorldBytes
, padLength, endStream: true);
1254
Assert.True(
_helloWorldBytes
.AsSpan().SequenceEqual(dataFrame.PayloadSequence.ToArray()));
1552
await SendDataAsync(1,
_helloWorldBytes
, endStream: true);
1567
await SendDataAsync(1,
_helloWorldBytes
, endStream: false);
1585
await SendDataAsync(1,
_helloWorldBytes
, endStream: false);
1607
await SendDataAsync(1,
_helloWorldBytes
, endStream: false);
1824
await SendDataAsync(1,
_helloWorldBytes
, endStream: true);
3307
var initialWindowSize =
_helloWorldBytes
.Length / 2;
3331
await context.Response.Body.WriteAsync(
_helloWorldBytes
, 0,
_helloWorldBytes
.Length);
3359
Assert.True(
_helloWorldBytes
.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame.PayloadSequence.ToArray()));
4314
var initialWindowSize =
_helloWorldBytes
.Length / 2;
4338
await context.Response.Body.WriteAsync(
_helloWorldBytes
, 0,
_helloWorldBytes
.Length);
4366
Assert.True(
_helloWorldBytes
.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame.PayloadSequence.ToArray()));
4660
var initialWindowSize =
_helloWorldBytes
.Length / 2;
4668
await SendDataAsync(1,
_helloWorldBytes
, endStream: true);
4694
Assert.True(
_helloWorldBytes
.AsSpan(0, initialWindowSize).SequenceEqual(dataFrame1.PayloadSequence.ToArray()));
4695
Assert.True(
_helloWorldBytes
.AsSpan(initialWindowSize, initialWindowSize).SequenceEqual(dataFrame2.PayloadSequence.ToArray()));
4707
await SendDataAsync(1,
_helloWorldBytes
, endStream: true);
4749
Assert.True(
_helloWorldBytes
.AsSpan(0, 6).SequenceEqual(dataFrame1.PayloadSequence.ToArray()));
4750
Assert.True(
_helloWorldBytes
.AsSpan(6, 3).SequenceEqual(dataFrame2.PayloadSequence.ToArray()));
4751
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;