31 references to _headerValueString
Microsoft.AspNetCore.Shared.Tests (31)
runtime\Http2\HPackDecoderTest.cs (31)
62private static readonly byte[] _headerValueBytes = Encoding.ASCII.GetBytes(_headerValueString);
137Assert.Equal(_headerValueString, _handler.DecodedHeaders[_userAgentString]);
140Assert.Equal(_headerValueString, _handler.DecodedStaticHeaders[H2StaticTable.UserAgent].Value);
151Assert.Equal(_headerValueString, _handler.DecodedHeaders[_headerNameString]);
190TestDecodeWithIndexing(encoded, _headerNameString, _headerValueString);
201TestDecodeWithIndexing(encoded, _headerNameString, _headerValueString);
212TestDecodeWithIndexing(encoded, _headerNameString, _headerValueString);
223TestDecodeWithIndexing(encoded, _headerNameString, _headerValueString);
233TestDecodeWithIndexing(encoded, _userAgentString, _headerValueString);
243TestDecodeWithIndexing(encoded, _userAgentString, _headerValueString);
266TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString);
314TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString);
338TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString);
360TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString);
383TestDecodeWithoutIndexing(encoded, _userAgentString, _headerValueString);
393TestDecodeWithoutIndexing(encoded, _userAgentString, _headerValueString);
416TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString);
429TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString);
440TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString);
451TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString);
462TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString);
475TestDecodeWithoutIndexing(encoded, _userAgentString, _headerValueString);
488TestDecodeWithoutIndexing(encoded, _userAgentString, _headerValueString);
515Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderNameString]);
531Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderNameString]);
547Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderNameString]);
563Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderNameString]);
579Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderNameString]);
590_decoder.Decode(encoded[..^(_headerValueString.Length / 2)], endHeaders: false, handler: _handler);
591_decoder.Decode(encoded[^(_headerValueString.Length / 2)..], endHeaders: true, handler: _handler);
595Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderNameString]);