1 write to Message
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
102
Message
= formatter(state, exception)
19 references to Message
InMemory.FunctionalTests (19)
ConnectionMiddlewareTests.cs (1)
265
Assert.Contains(LogMessages, m => m.
Message
.Contains("Unhandled exception while processing " + connectionId + "."));
Http2\Http2ConnectionTests.cs (4)
1351
Assert.Contains(LogMessages, m => m.
Message
.Contains("the application completed without reading the entire request body."));
5310
Assert.Equal("Connection id \"TestConnectionId\" request processing ended abnormally.", logMessage.
Message
);
5329
Assert.Equal(CoreStrings.RequestProcessingEndError, logMessage.
Message
);
5361
Assert.Contains(LogMessages, m => m.
Message
.Contains("the application completed without reading the entire request body."));
Http2\Http2StreamTests.cs (4)
1926
Assert.Contains(LogMessages, m => m.
Message
.Contains("the application completed without reading the entire request body."));
2013
Assert.Contains(LogMessages, m => m.
Message
.Contains("the application completed without reading the entire request body."));
2076
Assert.Contains(LogMessages, m => m.
Message
.Contains("the application completed without reading the entire request body."));
5878
Assert.Contains(LogMessages, m => m.
Message
.Equals("One or more of the following response headers have been removed because they are invalid for HTTP/2 and HTTP/3 responses: 'Connection', 'Transfer-Encoding', 'Keep-Alive', 'Upgrade' and 'Proxy-Connection'."));
Http3\Http3StreamTests.cs (5)
675
Assert.Contains(LogMessages, m => m.
Message
.Equals("One or more of the following response headers have been removed because they are invalid for HTTP/2 and HTTP/3 responses: 'Connection', 'Transfer-Encoding', 'Keep-Alive', 'Upgrade' and 'Proxy-Connection'."));
2557
Assert.Contains(LogMessages, m => m.
Message
.Contains("the application completed without reading the entire request body."));
2630
Assert.Contains(LogMessages, m => m.
Message
.Contains("the application completed without reading the entire request body."));
2685
Assert.Contains(LogMessages, m => m.
Message
.Contains("the application completed without reading the entire request body."));
2874
Assert.Contains(LogMessages, m => m.
Message
.Contains("the application completed without reading the entire request body."));
HttpProtocolSelectionTests.cs (1)
96
&& message.
Message
== expectedErrorMessage);
ResponseTests.cs (4)
943
logMessage.
Message
);
1296
Assert.All(error, message => message.
Message
.Equals(CoreStrings.FormatTooFewBytesWritten(0, 5)));
2839
Assert.Single(LogMessages.Where(m => m.
Message
.Contains(CoreStrings.ConnectionAbortedByApplication)));
2874
Assert.Single(LogMessages.Where(m => m.
Message
.Contains("The connection was aborted by the application via IConnectionLifetimeFeature.Abort().")));