7 references to TestHeaderName
Microsoft.AspNetCore.HeaderParsing.Tests (7)
HeaderKeyTests.cs (7)
21
var sut = new HeaderKey<DateTimeOffset>(
TestHeaderName
, DateTimeOffsetParser.Instance, TestHeaderPosition);
22
Assert.Equal(
TestHeaderName
, sut.ToString());
28
var sut = new HeaderKey<DateTimeOffset>(
TestHeaderName
, DateTimeOffsetParser.Instance, TestHeaderPosition);
30
Assert.Equal(
TestHeaderName
, sut.Name);
38
var referenceTimeDefault = new HeaderKey<IReadOnlyList<IPAddress>>(
TestHeaderName
, IPAddressListParser.Instance, TestHeaderPosition);
39
var valueTypeDefault = new HeaderKey<DateTimeOffset>(
TestHeaderName
, DateTimeOffsetParser.Instance, TestHeaderPosition);
51
var sut = new HeaderKey<DateTimeOffset>(
TestHeaderName
, DateTimeOffsetParser.Instance, TestHeaderPosition, 0, _testHeaderDefaultValue);