1 write to Content
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Buffers\PagedBufferedTextWriterTest.cs (1)
14
Content
= new char[4 * PagedCharBuffer.PageSize];
27 references to Content
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (27)
Buffers\PagedBufferedTextWriterTest.cs (27)
15
for (var i = 0; i <
Content
.Length; i++)
17
Content
[i] = (char)((i % 26) + 'A');
31
for (var i = 0; i <
Content
.Length; i++)
33
writer.Write(
Content
[i]);
39
Assert.Equal<char>(
Content
, inner.ToString().ToCharArray());
70
Assert.Equal(4096,
Content
.Length); // Update these numbers if this changes.
80
chunk[j] =
Content
[offset + j];
91
for (var i = 0; i <
Content
.Length; i++)
93
Assert.Equal(
Content
[i], array[i]);
96
Assert.Equal<char>(
Content
, inner.ToString().ToCharArray());
122
Assert.Equal(4096,
Content
.Length); // Update these numbers if this changes.
129
writer.Write(
Content
, offset, chunkSize);
136
Assert.Equal<char>(
Content
, inner.ToString().ToCharArray());
167
Assert.Equal(4096,
Content
.Length); // Update these numbers if this changes.
174
var chunk = new string(
Content
, offset, chunkSize);
182
Assert.Equal<char>(
Content
, inner.ToString().ToCharArray());
251
for (var i = 0; i <
Content
.Length; i++)
253
writer.Write(
Content
[i]);
271
for (var i = 0; i <
Content
.Length; i++)
273
writer.Write(
Content
[i]);
280
Assert.Equal<char>(
Content
, inner.ToString().ToCharArray());
291
for (var i = 0; i <
Content
.Length; i++)
293
writer.Write(
Content
[i]);
300
Assert.Equal<char>(
Content
, inner.ToString().ToCharArray());
311
for (var i = 0; i <
Content
.Length; i++)
313
writer.Write(
Content
[i]);
320
Assert.Equal<char>(
Content
, inner.ToString().ToCharArray());