1 write to _sut
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\LoggingOptionsTest.cs (1)
19
_sut
= new LoggingOptions();
18 references to _sut
Microsoft.Extensions.Http.Diagnostics.Tests (18)
Logging\LoggingOptionsTest.cs (18)
35
_sut
.BodySizeLimit = TestSizeLimit;
37
_sut
.BodySizeLimit.Should().Be(TestSizeLimit);
45
_sut
.BodyReadTimeout = testTimeout;
55
_sut
.RequestBodyContentTypes = testContentTypes;
57
_sut
.RequestBodyContentTypes.Should().BeEquivalentTo(testContentTypes);
65
_sut
.ResponseBodyContentTypes = testContentTypes;
67
_sut
.ResponseBodyContentTypes.Should().BeEquivalentTo(testContentTypes);
79
_sut
.RequestHeadersDataClasses = testHeaders;
81
_sut
.RequestHeadersDataClasses.Should().BeEquivalentTo(testHeaders);
93
_sut
.ResponseHeadersDataClasses = testHeaders;
95
_sut
.ResponseHeadersDataClasses.Should().BeEquivalentTo(testHeaders);
104
_sut
.RequestPathLoggingMode = testValue;
106
_sut
.RequestPathLoggingMode.Should().Be(testValue);
114
_sut
.LogRequestStart = testValue;
116
_sut
.LogRequestStart.Should().Be(testValue);
128
_sut
.RouteParameterDataClasses.Add("foo", FakeTaxonomy.PrivateData);
129
_sut
.RouteParameterDataClasses.Add("bar", FakeTaxonomy.PrivateData);
131
_sut
.RouteParameterDataClasses.Should().BeEquivalentTo(paramsToRedacts);