16 references to _literalHeaderFieldString
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (16)
src\Shared\test\Shared.Tests\runtime\Http3\QPackDecoderTest.cs (16)
105TestDecodeWithoutIndexing(encoded, _literalHeaderFieldString, _headerValueString);
148TestDecodeWithoutIndexing(encoded, _literalHeaderFieldString, _headerValueString);
192Assert.True(_handler.DecodedHeaders.ContainsKey(_literalHeaderFieldString));
193Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderFieldString]);
208Assert.True(_handler.DecodedHeaders.ContainsKey(_literalHeaderFieldString));
209Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderFieldString]);
220_decoder.Decode(encoded[..(_literalHeaderFieldString.Length / 2)], endHeaders: false, handler: _handler);
221_decoder.Decode(encoded[(_literalHeaderFieldString.Length / 2)..], endHeaders: true, handler: _handler);
224Assert.True(_handler.DecodedHeaders.ContainsKey(_literalHeaderFieldString));
225Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderFieldString]);
240Assert.True(_handler.DecodedHeaders.ContainsKey(_literalHeaderFieldString));
241Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderFieldString]);
256Assert.True(_handler.DecodedHeaders.ContainsKey(_literalHeaderFieldString));
257Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderFieldString]);
272Assert.True(_handler.DecodedHeaders.ContainsKey(_literalHeaderFieldString));
273Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderFieldString]);