11 instantiations of TestApplicationErrorLogger
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (11)
AddressBinderTests.cs (2)
175
var logger = new
TestApplicationErrorLogger
();
201
var logger = new
TestApplicationErrorLogger
();
ConnectionDispatcherTests.cs (1)
26
var testLogger = new
TestApplicationErrorLogger
();
KestrelServerTests.cs (6)
49
var testLogger = new
TestApplicationErrorLogger
{ ThrowOnCriticalErrors = false };
120
var testLogger = new
TestApplicationErrorLogger
{ ThrowOnCriticalErrors = false };
141
var testLogger = new
TestApplicationErrorLogger
();
197
var testLogger = new
TestApplicationErrorLogger
();
220
var testLogger = new
TestApplicationErrorLogger
{ ThrowOnCriticalErrors = false };
246
var testLogger = new
TestApplicationErrorLogger
{ ThrowOnCriticalErrors = false };
src\Servers\Kestrel\shared\test\KestrelTestLoggerProvider.cs (1)
13
: this(new
TestApplicationErrorLogger
{ ThrowOnCriticalErrors = throwOnCriticalErrors })
src\Servers\Kestrel\shared\test\TestApplicationErrorLoggerLoggedTest.cs (1)
41
TestApplicationErrorLogger = new
TestApplicationErrorLogger
();
13 references to TestApplicationErrorLogger
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (13)
AddressBinderTests.cs (2)
175
var
logger = new TestApplicationErrorLogger();
201
var
logger = new TestApplicationErrorLogger();
ConnectionDispatcherTests.cs (1)
26
var
testLogger = new TestApplicationErrorLogger();
KestrelServerTests.cs (8)
49
var
testLogger = new TestApplicationErrorLogger { ThrowOnCriticalErrors = false };
120
var
testLogger = new TestApplicationErrorLogger { ThrowOnCriticalErrors = false };
141
var
testLogger = new TestApplicationErrorLogger();
195
private static (IEnumerable<
TestApplicationErrorLogger
.LogMessage> warnings, IEnumerable<
TestApplicationErrorLogger
.LogMessage> infos) GetNoTlsLogging(HttpProtocols? protocols)
197
var
testLogger = new TestApplicationErrorLogger();
220
var
testLogger = new TestApplicationErrorLogger { ThrowOnCriticalErrors = false };
246
var
testLogger = new TestApplicationErrorLogger { ThrowOnCriticalErrors = false };
src\Servers\Kestrel\shared\test\TestApplicationErrorLoggerLoggedTest.cs (2)
10
using static Microsoft.AspNetCore.InternalTesting.
TestApplicationErrorLogger
;
16
private
TestApplicationErrorLogger
TestApplicationErrorLogger { get; set; }