1 write to _decoder
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Shared\test\Shared.Tests\runtime\Http2\HPackDecoderTest.cs (1)
108
(_dynamicTable,
_decoder
) = CreateDecoderAndTable();
33 references to _decoder
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (33)
src\Shared\test\Shared.Tests\runtime\Http2\HPackDecoderTest.cs (33)
122
_decoder
.Decode(_indexedHeaderStatic, endHeaders: true, handler: _handler);
136
_decoder
.Decode(encoded, endHeaders: true, handler: _handler);
150
_decoder
.Decode(_indexedHeaderDynamic, endHeaders: true, handler: _handler);
168
_decoder
.Decode(encoded, endHeaders: true, handler: _handler);
177
_decoder
.Decode(_indexedHeaderDynamic, endHeaders: true, handler: _handler));
253
HPackDecodingException exception = Assert.Throws<HPackDecodingException>(() =>
_decoder
.Decode(new byte[] { 0x7e }, endHeaders: true, handler: _handler));
277
HPackDecodingException exception = Assert.Throws<HPackDecodingException>(() =>
_decoder
.Decode(encoded, endHeaders: true, handler: _handler));
301
HPackDecodingException exception = Assert.Throws<HPackDecodingException>(() =>
_decoder
.Decode(encoded, endHeaders: true, handler: _handler));
325
HPackDecodingException exception = Assert.Throws<HPackDecodingException>(() =>
_decoder
.Decode(encoded, endHeaders: true, handler: _handler));
371
HPackDecodingException exception = Assert.Throws<HPackDecodingException>(() =>
_decoder
.Decode(encoded, endHeaders: true, handler: _handler));
403
HPackDecodingException exception = Assert.Throws<HPackDecodingException>(() =>
_decoder
.Decode(new byte[] { 0x0f, 0x2f }, endHeaders: true, handler: _handler));
498
HPackDecodingException exception = Assert.Throws<HPackDecodingException>(() =>
_decoder
.Decode(new byte[] { 0x1f, 0x2f }, endHeaders: true, handler: _handler));
511
_decoder
.Decode(encoded, endHeaders: true, handler: _handler);
526
_decoder
.Decode(encoded[..1], endHeaders: false, handler: _handler);
527
_decoder
.Decode(encoded[1..], endHeaders: true, handler: _handler);
542
_decoder
.Decode(encoded[..(_literalHeaderNameString.Length / 2)], endHeaders: false, handler: _handler);
543
_decoder
.Decode(encoded[(_literalHeaderNameString.Length / 2)..], endHeaders: true, handler: _handler);
558
_decoder
.Decode(encoded[..^_headerValue.Length], endHeaders: false, handler: _handler);
559
_decoder
.Decode(encoded[^_headerValue.Length..], endHeaders: true, handler: _handler);
574
_decoder
.Decode(encoded[..^(_headerValue.Length - 1)], endHeaders: false, handler: _handler);
575
_decoder
.Decode(encoded[^(_headerValue.Length - 1)..], endHeaders: true, handler: _handler);
590
_decoder
.Decode(encoded[..^(_headerValueString.Length / 2)], endHeaders: false, handler: _handler);
591
_decoder
.Decode(encoded[^(_headerValueString.Length / 2)..], endHeaders: true, handler: _handler);
606
_decoder
.Decode(new byte[] { 0x3e }, endHeaders: true, handler: _handler);
621
HPackDecodingException exception = Assert.Throws<HPackDecodingException>(() =>
_decoder
.Decode(data, endHeaders: true, handler: _handler));
630
_decoder
.Decode(_indexedHeaderStatic, endHeaders: false, handler: _handler);
636
HPackDecodingException exception = Assert.Throws<HPackDecodingException>(() =>
_decoder
.Decode(data, endHeaders: true, handler: _handler));
645
_decoder
.Decode(_indexedHeaderStatic, endHeaders: true, handler: _handler);
650
_decoder
.Decode(new byte[] { 0x3e }, endHeaders: true, handler: _handler);
664
_decoder
.Decode(new byte[] { 0x3f, 0xe2, 0x1f }, endHeaders: true, handler: _handler));
676
HPackDecodingException exception = Assert.Throws<HPackDecodingException>(() =>
_decoder
.Decode(encoded, endHeaders: true, handler: _handler));
867
HPackDecodingException exception = Assert.Throws<HPackDecodingException>(() =>
_decoder
.Decode(encoded, endHeaders: true, handler: _handler));
901
HPackDecodingException exception = Assert.Throws<HPackDecodingException>(() =>
_decoder
.Decode(encoded, endHeaders: true, handler: _handler));