netty-incubator-buffer-api/src/test/java/io/netty/buffer/api
Chris Vest 56bfa22d4a Align Buffer.get* bounds checks with their documented behaviour
The get* methods bounds checking accesses between 0 and the write offset, and the tests were confirming this behaviour.

This was wrong because it is not symmetric with the set* methods, which bounds check between 0 and the capacity, and does not modify the write offset.

The tests and methods have been updated so the get* methods now bounds check between 0 and the capacity.
2021-03-09 12:02:46 +01:00
..
adaptor Create AbstractByteBufTest for ByteBufAdaptor 2021-03-06 11:22:25 +01:00
benchmarks Move composite buffer methods to Buffer 2021-02-15 17:46:23 +01:00
examples The HttpUpload example *almost* works 2021-03-06 11:21:17 +01:00
BufferRefTest.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
BufferTest.java Align Buffer.get* bounds checks with their documented behaviour 2021-03-09 12:02:46 +01:00
EchoIT.java Update docs and examples 2021-03-01 11:21:25 +01:00
Fixture.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
ScopeTest.java Add BufHolder and BufRef helper classes 2020-12-14 14:22:37 +01:00