46 references to DecodedHeaders
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (46)
src\Shared\test\Shared.Tests\runtime\Http2\HPackDecoderTest.cs (46)
123Assert.Equal("GET", _handler.DecodedHeaders[":method"]); 137Assert.Equal(_headerValueString, _handler.DecodedHeaders[_userAgentString]); 151Assert.Equal(_headerValueString, _handler.DecodedHeaders[_headerNameString]); 170Assert.Equal(_literalHeaderNameString, _handler.DecodedHeaders[_headerNameString]); // but we got the header anyway 179Assert.Empty(_handler.DecodedHeaders); 255Assert.Empty(_handler.DecodedHeaders); 279Assert.Empty(_handler.DecodedHeaders); 303Assert.Empty(_handler.DecodedHeaders); 327Assert.Empty(_handler.DecodedHeaders); 373Assert.Empty(_handler.DecodedHeaders); 405Assert.Empty(_handler.DecodedHeaders); 500Assert.Empty(_handler.DecodedHeaders); 513Assert.Single(_handler.DecodedHeaders); 514Assert.True(_handler.DecodedHeaders.ContainsKey(_literalHeaderNameString)); 515Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderNameString]); 529Assert.Single(_handler.DecodedHeaders); 530Assert.True(_handler.DecodedHeaders.ContainsKey(_literalHeaderNameString)); 531Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderNameString]); 545Assert.Single(_handler.DecodedHeaders); 546Assert.True(_handler.DecodedHeaders.ContainsKey(_literalHeaderNameString)); 547Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderNameString]); 561Assert.Single(_handler.DecodedHeaders); 562Assert.True(_handler.DecodedHeaders.ContainsKey(_literalHeaderNameString)); 563Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderNameString]); 577Assert.Single(_handler.DecodedHeaders); 578Assert.True(_handler.DecodedHeaders.ContainsKey(_literalHeaderNameString)); 579Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderNameString]); 593Assert.Single(_handler.DecodedHeaders); 594Assert.True(_handler.DecodedHeaders.ContainsKey(_literalHeaderNameString)); 595Assert.Equal(_headerValueString, _handler.DecodedHeaders[_literalHeaderNameString]); 609Assert.Empty(_handler.DecodedHeaders); 631Assert.Equal("GET", _handler.DecodedHeaders[":method"]); 646Assert.Equal("GET", _handler.DecodedHeaders[":method"]); 666Assert.Empty(_handler.DecodedHeaders); 678Assert.Empty(_handler.DecodedHeaders); 696Assert.Equal(string8193, _handler.DecodedHeaders[string8193]); 729Assert.Equal(string8191, _handler.DecodedHeaders[string8191]); 730Assert.Equal(string8193, _handler.DecodedHeaders[string8193]); 731Assert.False(_handler.DecodedHeaders.ContainsKey(string8194)); 754Assert.Equal(string8193, _handler.DecodedHeaders[string8193]); 779Assert.Equal(string8193, _handler.DecodedHeaders[string8193]); 869Assert.Empty(_handler.DecodedHeaders); 904Assert.Empty(_handler.DecodedHeaders); 943Assert.Equal(expectedHeaderValue, handler.DecodedHeaders[expectedHeaderName]); 970DecodedHeaders[headerName] = headerValue; 994DecodedHeaders[headerName] = headerValue;