Class ByteUtilsTest
java.lang.Object
org.apache.kafka.common.utils.internals.ByteUtilsTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
ByteUtilsTest
public ByteUtilsTest()
-
-
Method Details
-
testIncrement
@Test public void testIncrement() -
testIncrementUpperBoundary
@Test public void testIncrementUpperBoundary() -
testIncrementWithSubmap
@Test public void testIncrementWithSubmap() -
testBytesLexicographicCases
@Test public void testBytesLexicographicCases() -
testReadUnsignedIntLEFromArray
@Test public void testReadUnsignedIntLEFromArray() -
testReadUnsignedIntLEFromInputStream
- Throws:
IOException
-
testReadUnsignedInt
@Test public void testReadUnsignedInt() -
testWriteUnsignedIntLEToArray
@Test public void testWriteUnsignedIntLEToArray() -
testWriteUnsignedIntLEToOutputStream
- Throws:
IOException
-
testUnsignedVarintSerde
-
testVarintSerde
-
testVarlongSerde
-
testInvalidVarint
@Test public void testInvalidVarint() -
testInvalidVarlong
@Test public void testInvalidVarlong() -
testDouble
- Throws:
IOException
-
testCorrectnessWriteUnsignedVarlong
@Test @Disabled public void testCorrectnessWriteUnsignedVarlong() -
testCorrectnessWriteUnsignedVarint
@Test public void testCorrectnessWriteUnsignedVarint() -
testCorrectnessReadUnsignedVarint
@Test public void testCorrectnessReadUnsignedVarint() -
testCorrectnessReadUnsignedVarlong
@Test @Disabled public void testCorrectnessReadUnsignedVarlong() -
testSizeOfUnsignedVarint
@Test public void testSizeOfUnsignedVarint() -
testSizeOfVarlong
@Test public void testSizeOfVarlong() -
testReadInt
@Test public void testReadInt()
-