12 references to _logger
Microsoft.AspNetCore.HeaderParsing.Tests (12)
HeaderParsingFeatureTests.cs (12)
51
var feature = new HeaderParsingFeature(Registry,
_logger
, metrics) { Context = Context };
70
var feature = new HeaderParsingFeature(Registry,
_logger
, metrics) { Context = Context };
92
var feature = new HeaderParsingFeature(Registry,
_logger
, metrics) { Context = Context };
106
var feature = new HeaderParsingFeature(Registry,
_logger
, metrics) { Context = Context };
111
Assert.Equal("Header 'Date' not found.",
_logger
.Collector.LatestRecord.Message);
123
var feature = new HeaderParsingFeature(Registry,
_logger
, metrics) { Context = Context };
130
Assert.Equal("Using a default value for header 'Date'.",
_logger
.Collector.LatestRecord.Message);
141
var feature = new HeaderParsingFeature(Registry,
_logger
, metrics) { Context = Context };
148
Assert.Equal("Can't parse header 'Date' due to 'Unable to parse date time offset value.'.",
_logger
.Collector.LatestRecord.Message);
164
var helper = new HeaderParsingFeature.PoolHelper(pool.Object, Registry,
_logger
, metrics);
198
var feature = new HeaderParsingFeature(Registry,
_logger
, metrics) { Context = Context };
199
var feature2 = new HeaderParsingFeature(Registry,
_logger
, metrics) { Context = Context };