5 references to DefaultBufferSize
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
TestHttpResponseStreamWriterFactory.cs (1)
16
return new HttpResponseStreamWriter(stream, encoding,
DefaultBufferSize
);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
ViewExecutorTest.cs (4)
333
[InlineData(TestHttpResponseStreamWriterFactory.
DefaultBufferSize
- 1)]
334
[InlineData(TestHttpResponseStreamWriterFactory.
DefaultBufferSize
+ 1)]
335
[InlineData(2 * TestHttpResponseStreamWriterFactory.
DefaultBufferSize
+ 4)]
345
var expectedWriteCallCount = Math.Ceiling((double)writeLength / TestHttpResponseStreamWriterFactory.
DefaultBufferSize
);