Class ByteUtilsTest

java.lang.Object
org.apache.kafka.common.utils.internals.ByteUtilsTest

public class ByteUtilsTest extends Object
  • 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

      @Test public void testReadUnsignedIntLEFromInputStream() throws IOException
      Throws:
      IOException
    • testReadUnsignedInt

      @Test public void testReadUnsignedInt()
    • testWriteUnsignedIntLEToArray

      @Test public void testWriteUnsignedIntLEToArray()
    • testWriteUnsignedIntLEToOutputStream

      @Test public void testWriteUnsignedIntLEToOutputStream() throws IOException
      Throws:
      IOException
    • testUnsignedVarintSerde

      @Test public void testUnsignedVarintSerde() throws Exception
      Throws:
      Exception
    • testVarintSerde

      @Test public void testVarintSerde() throws Exception
      Throws:
      Exception
    • testVarlongSerde

      @Test public void testVarlongSerde() throws Exception
      Throws:
      Exception
    • testInvalidVarint

      @Test public void testInvalidVarint()
    • testInvalidVarlong

      @Test public void testInvalidVarlong()
    • testDouble

      @Test public void testDouble() throws IOException
      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()