FileBufferingWriteStreamTests.cs (17)
27bufferingStream.Write(input, 0, input.Length);
48bufferingStream.Write(input, 0, 2);
70bufferingStream.Write(input, 0, 2);
73bufferingStream.Write(input, 2, 1);
96bufferingStream.Write(input, 0, input.Length);
119bufferingStream.Write(input, 0, 5);
120bufferingStream.Write(input, 5, 2);
181bufferingStream.Write(input, 0, 2);
255var exception = Assert.Throws<IOException>(() => bufferingStream.Write(input, 0, input.Length));
269bufferingStream.Write(input, 0, input.Length);
270var exception = Assert.Throws<IOException>(() => bufferingStream.Write(input, 0, input.Length));
285bufferingStream.Write(input, 0, input.Length);
286bufferingStream.Write(input, 0, input.Length); // Should get to exactly the buffer limit, which is fine
341bufferingStream.Write(input, 0, input.Length);
358bufferingStream.Write(input, 0, input.Length);
376bufferingStream.Write(input, 0, 2);
379bufferingStream.Write(input, 2, 1);