Package org.apache.hadoop.hbase.ipc
Class TestBufferChain
java.lang.Object
org.apache.hadoop.hbase.ipc.TestBufferChain
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[][]private File -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertNoRemaining(ByteBuffer[] bufs) voidsetup()private ByteBuffervoidteardown()voidvoidprivate ByteBuffer[]wrapArrays(byte[][] arrays) private voidwriteAndVerify(org.apache.hadoop.hbase.ipc.BufferChain chain, String string)
-
Field Details
-
CLASS_RULE
-
tmpFile
-
HELLO_WORLD_CHUNKS
-
-
Constructor Details
-
TestBufferChain
public TestBufferChain()
-
-
Method Details
-
setup
- Throws:
IOException
-
teardown
-
testGetBackBytesWePutIn
-
testLimitOffset
- Throws:
IOException
-
stringBuf
-
assertNoRemaining
-
wrapArrays
-
writeAndVerify
private void writeAndVerify(org.apache.hadoop.hbase.ipc.BufferChain chain, String string) throws IOException - Throws:
IOException
-