18 references to _headerNameString
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (18)
src\Shared\test\Shared.Tests\runtime\Http2\HPackDecoderTest.cs (18)
52private static readonly byte[] _headerNameBytes = Encoding.ASCII.GetBytes(_headerNameString); 151Assert.Equal(_headerValueString, _handler.DecodedHeaders[_headerNameString]); 170Assert.Equal(_literalHeaderNameString, _handler.DecodedHeaders[_headerNameString]); // but we got the header anyway 190TestDecodeWithIndexing(encoded, _headerNameString, _headerValueString); 201TestDecodeWithIndexing(encoded, _headerNameString, _headerValueString); 212TestDecodeWithIndexing(encoded, _headerNameString, _headerValueString); 223TestDecodeWithIndexing(encoded, _headerNameString, _headerValueString); 266TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString); 290TestDecodeWithoutIndexing(encoded, _headerNameString, string.Empty); 314TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString); 338TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString); 349TestDecodeWithoutIndexing(encoded, _headerNameString, string.Empty); 360TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString); 416TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString); 429TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString); 440TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString); 451TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString); 462TestDecodeWithoutIndexing(encoded, _headerNameString, _headerValueString);