Class UtilsTest
java.lang.Object
org.apache.kafka.common.network.netty.UtilsTest
Test class to test methods in
Utils class.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest forUtils.copyToByteBuffer(ByteBuf)method by making a full copy of the the ByteBuf and then confirming that the copy is correct.voidTest forUtils.copyToByteBuffer(ByteBuf)method by making a slice copy of the the ByteBuf and then confirming that the slice copy is correct.
-
Constructor Details
-
UtilsTest
public UtilsTest()
-
-
Method Details
-
testCopyToByteBuffer
@Test public void testCopyToByteBuffer()Test forUtils.copyToByteBuffer(ByteBuf)method by making a full copy of the the ByteBuf and then confirming that the copy is correct. -
testSliceCopyToByteBuffer
@Test public void testSliceCopyToByteBuffer()Test forUtils.copyToByteBuffer(ByteBuf)method by making a slice copy of the the ByteBuf and then confirming that the slice copy is correct.
-