Base:
6 writes to Position
Microsoft.AspNetCore.WebUtilities.Tests (6)
FileBufferingReadStreamTests.cs (6)
315
stream.
Position
= 0;
476
stream.
Position
= 0;
500
stream.
Position
= 0;
555
stream.
Position
= 0;
574
stream.
Position
= 0;
594
stream.
Position
= 0;
32 references to Position
Microsoft.AspNetCore.WebUtilities (1)
FileBufferingReadStream.cs (1)
221
else if (!_completelyBuffered && origin == SeekOrigin.Current && offset +
Position
> Length)
Microsoft.AspNetCore.WebUtilities.Tests (31)
FileBufferingReadStreamTests.cs (31)
30
Assert.Equal(0, stream.
Position
);
50
Assert.Equal(read0, stream.
Position
);
57
Assert.Equal(read0 + read1, stream.
Position
);
64
Assert.Equal(read0 + read1 + read2, stream.
Position
);
83
Assert.Equal(read0, stream.
Position
);
90
Assert.Equal(read0 + read1, stream.
Position
);
97
Assert.Equal(read0 + read1 + read2, stream.
Position
);
117
Assert.Equal(read0, stream.
Position
);
124
Assert.Equal(read0 + read1, stream.
Position
);
133
Assert.Equal(read0 + read1 + read2, stream.
Position
);
155
Assert.Equal(read0, stream.
Position
);
178
Assert.Equal(read0, stream.
Position
);
185
Assert.Equal(read0 + read1, stream.
Position
);
212
Assert.Equal(read0, stream.
Position
);
219
Assert.Equal(read0 + read1, stream.
Position
);
226
Assert.Equal(read0 + read1 + read2, stream.
Position
);
245
Assert.Equal(read0, stream.
Position
);
252
Assert.Equal(read0 + read1, stream.
Position
);
259
Assert.Equal(read0 + read1 + read2, stream.
Position
);
279
Assert.Equal(read0, stream.
Position
);
286
Assert.Equal(read0 + read1, stream.
Position
);
295
Assert.Equal(read0 + read1 + read2, stream.
Position
);
317
Assert.Equal(0, stream.
Position
);
326
Assert.Equal(read0, stream.
Position
);
330
Assert.Equal(read0 + read1, stream.
Position
);
334
Assert.Equal(read0 + read1 + read2, stream.
Position
);
339
Assert.Equal(read0 + read1 + read2 + read3, stream.
Position
);
358
Assert.Equal(read0, stream.
Position
);
381
Assert.Equal(read0, stream.
Position
);
388
Assert.Equal(read0 + read1, stream.
Position
);
615
Assert.Equal(read0, stream.
Position
);