netty5/buffer/src/test/java/io/netty/buffer
Chris Vest 0973673fce
Make CompositeBuffer an interface (#11687)
Motivation:
Having composite buffer as a class has caused problems in the past.
Making it an interface makes it possible to stub or decorate the composite buffer implementation.

Modification:
Make CompositeBuffer an interface, and move the implementation to DefaultCompositeBuffer.
Then hide the implementation and permit construction only through static factory methods.

Result:
CompositeBuffer is now an interface.
2021-09-16 13:25:45 +02:00
..
api/tests Make CompositeBuffer an interface (#11687) 2021-09-16 13:25:45 +02:00
search Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
AbstractByteBufAllocatorTest.java Add pinnedHeap/DirectMemory methods to ByteBufAllocatorMetric (#11667) 2021-09-15 16:32:52 +02:00
AbstractByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
AbstractCompositeByteBufTest.java Don't throw if null is given as ByteBuf when adding components. (#11613) 2021-08-26 08:21:06 +02:00
AbstractPooledByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
AbstractReferenceCountedByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
AdvancedLeakAwareByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
AdvancedLeakAwareCompositeByteBufTest.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
AlignedPooledByteBufAllocatorTest.java Fix alignment handling for pooled direct buffers (#11106) 2021-03-23 17:09:44 +01:00
BigEndianCompositeByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
BigEndianDirectByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
BigEndianHeapByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
BigEndianUnsafeDirectByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
BigEndianUnsafeNoCleanerDirectByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
ByteBufAllocatorTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
ByteBufDerivationTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
ByteBufStreamTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
ByteBufUtilTest.java Make variables final (#11548) 2021-08-06 09:28:12 +02:00
ByteProcessorTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
ConsolidationTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
DefaultByteBufHolderTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
DuplicatedByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
EmptyByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
FixedCompositeByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
LittleEndianCompositeByteBufTest.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
LittleEndianDirectByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
LittleEndianHeapByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
LittleEndianUnsafeDirectByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
LittleEndianUnsafeNoCleanerDirectByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
NoopResourceLeakTracker.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
PoolArenaTest.java Remove Unused Imports (#11546) 2021-08-05 14:08:07 +02:00
PooledAlignedBigEndianDirectByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
PooledBigEndianDirectByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
PooledBigEndianHeapByteBufTest.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
PooledByteBufAllocatorTest.java Add pinnedHeap/DirectMemory methods to ByteBufAllocatorMetric (#11667) 2021-09-15 16:32:52 +02:00
PooledLittleEndianDirectByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
PooledLittleEndianHeapByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
ReadOnlyByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
ReadOnlyByteBufferBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
ReadOnlyDirectByteBufferBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
ReadOnlyUnsafeDirectByteBufferBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
RetainedDuplicatedByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
RetainedSlicedByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
SimpleLeakAwareByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
SimpleLeakAwareCompositeByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
SlicedByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
UnpooledByteBufAllocatorTest.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
UnpooledTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
UnreleaseableByteBufTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
UnsafeByteBufUtilTest.java Migrate buffer tests to JUnit 5 (#11305) 2021-05-27 09:22:02 +02:00
WrappedCompositeByteBufTest.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WrappedUnpooledUnsafeByteBufTest.java Fix bad cherry-pick that was done in f9ca270e62 2021-05-28 09:34:59 +02:00