6 references to TestHeaderPosition
Microsoft.AspNetCore.HeaderParsing.Tests (6)
HeaderKeyTests.cs (6)
21
var sut = new HeaderKey<DateTimeOffset>(TestHeaderName, DateTimeOffsetParser.Instance,
TestHeaderPosition
);
28
var sut = new HeaderKey<DateTimeOffset>(TestHeaderName, DateTimeOffsetParser.Instance,
TestHeaderPosition
);
32
Assert.Equal(
TestHeaderPosition
, sut.Position);
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);