1 write to Message
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
102Message = formatter(state, exception)
19 references to Message
InMemory.FunctionalTests (19)
ConnectionMiddlewareTests.cs (1)
265Assert.Contains(LogMessages, m => m.Message.Contains("Unhandled exception while processing " + connectionId + "."));
Http2\Http2ConnectionTests.cs (4)
1351Assert.Contains(LogMessages, m => m.Message.Contains("the application completed without reading the entire request body.")); 5310Assert.Equal("Connection id \"TestConnectionId\" request processing ended abnormally.", logMessage.Message); 5329Assert.Equal(CoreStrings.RequestProcessingEndError, logMessage.Message); 5361Assert.Contains(LogMessages, m => m.Message.Contains("the application completed without reading the entire request body."));
Http2\Http2StreamTests.cs (4)
1926Assert.Contains(LogMessages, m => m.Message.Contains("the application completed without reading the entire request body.")); 2013Assert.Contains(LogMessages, m => m.Message.Contains("the application completed without reading the entire request body.")); 2076Assert.Contains(LogMessages, m => m.Message.Contains("the application completed without reading the entire request body.")); 5878Assert.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)
675Assert.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'.")); 2557Assert.Contains(LogMessages, m => m.Message.Contains("the application completed without reading the entire request body.")); 2630Assert.Contains(LogMessages, m => m.Message.Contains("the application completed without reading the entire request body.")); 2685Assert.Contains(LogMessages, m => m.Message.Contains("the application completed without reading the entire request body.")); 2874Assert.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)
943logMessage.Message); 1296Assert.All(error, message => message.Message.Equals(CoreStrings.FormatTooFewBytesWritten(0, 5))); 2839Assert.Single(LogMessages.Where(m => m.Message.Contains(CoreStrings.ConnectionAbortedByApplication))); 2874Assert.Single(LogMessages.Where(m => m.Message.Contains("The connection was aborted by the application via IConnectionLifetimeFeature.Abort().")));