public class TestMultiByteBuff extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
Constructor and Description |
---|
TestMultiByteBuff() |
Modifier and Type | Method and Description |
---|---|
private void |
doTestPositionalPutByteBuff(org.apache.hadoop.hbase.nio.ByteBuff srcByteBuff) |
void |
testArrayBasedMethods() |
void |
testGetByteBufferWithOffsetAndPos() |
void |
testGetIntStrictlyForwardWithPosOnMultiBuffers() |
void |
testGetPrimitivesWithSmallIndividualBBs() |
void |
testGetShort()
Test right answer though we span many sub-buffers.
|
void |
testGetWithPosOnMultiBuffers() |
void |
testHasRemaining() |
void |
testMarkAndResetWithMBB() |
void |
testMoveBack() |
void |
testPositionalPutByte() |
void |
testPositionalPutByteBuff() |
void |
testPositonalCopyToByteArray() |
void |
testPutPrimitives() |
void |
testSkipNBytes() |
void |
testSliceDuplicateMethods() |
void |
testSubBuffer() |
void |
testToBytes() |
void |
testWritesAndReads() |
public static final HBaseClassTestRule CLASS_RULE
public TestMultiByteBuff()
public void testGetShort()
public void testWritesAndReads()
public void testPutPrimitives()
public void testArrayBasedMethods()
public void testMarkAndResetWithMBB()
public void testSkipNBytes()
public void testMoveBack()
public void testSubBuffer()
public void testSliceDuplicateMethods() throws Exception
Exception
public void testGetWithPosOnMultiBuffers() throws IOException
IOException
public void testGetIntStrictlyForwardWithPosOnMultiBuffers() throws IOException
IOException
public void testPositonalCopyToByteArray() throws Exception
Exception
public void testToBytes() throws Exception
Exception
public void testHasRemaining()
public void testGetPrimitivesWithSmallIndividualBBs()
public void testGetByteBufferWithOffsetAndPos()
public void testPositionalPutByteBuff() throws Exception
Exception
private void doTestPositionalPutByteBuff(org.apache.hadoop.hbase.nio.ByteBuff srcByteBuff) throws Exception
Exception
public void testPositionalPutByte() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.