16 references to FormatTooFewBytesWritten
InMemory.FunctionalTests (15)
Http2\Http2StreamTests.cs (7)
1423
Assert.Contains(LogMessages, m => m.Exception?.Message.Contains(CoreStrings.
FormatTooFewBytesWritten
(0, 11)) ?? false);
1841
await WaitForStreamErrorAsync(1, Http2ErrorCode.INTERNAL_ERROR, CoreStrings.
FormatTooFewBytesWritten
(6, 11));
4868
Assert.Equal(CoreStrings.
FormatTooFewBytesWritten
(0, 25), ex.Message);
5316
Assert.Equal(CoreStrings.
FormatTooFewBytesWritten
(11, 25), ex.Message);
5344
expectedErrorMessage: CoreStrings.
FormatTooFewBytesWritten
(11, 25));
5387
Assert.Equal(CoreStrings.
FormatTooFewBytesWritten
(11, 25), ex.Message);
5415
expectedErrorMessage: CoreStrings.
FormatTooFewBytesWritten
(11, 25));
Http3\Http3StreamTests.cs (5)
1245
Assert.Equal(CoreStrings.
FormatTooFewBytesWritten
(0, 25), ex.Message);
1607
Assert.Equal(CoreStrings.
FormatTooFewBytesWritten
(11, 25), ex.Message);
1633
expectedErrorMessage: CoreStrings.
FormatTooFewBytesWritten
(11, 25));
1665
Assert.Equal(CoreStrings.
FormatTooFewBytesWritten
(11, 25), ex.Message);
1691
expectedErrorMessage: CoreStrings.
FormatTooFewBytesWritten
(11, 25));
ResponseTests.cs (3)
1151
ex.Message.Equals(CoreStrings.
FormatTooFewBytesWritten
(12, 13), StringComparison.Ordinal));
1208
ex.Message.Equals(CoreStrings.
FormatTooFewBytesWritten
(12, 13), StringComparison.Ordinal));
1296
Assert.All(error, message => message.Message.Equals(CoreStrings.
FormatTooFewBytesWritten
(0, 5)));
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.cs (1)
933
CoreStrings.
FormatTooFewBytesWritten
(_responseBytesWritten, responseHeaders.ContentLength.Value));