public class IoBufferTest extends Object
IoBuffer
class.Modifier and Type | Class and Description |
---|---|
static class |
IoBufferTest.NonserializableClass |
Constructor and Description |
---|
IoBufferTest() |
Modifier and Type | Method and Description |
---|---|
void |
autoExpand() |
void |
testAllocate() |
void |
testAllocateNegative()
Test that we can't allocate a buffser with a negative value
|
void |
testAutoExpand() |
void |
testAutoExpandMark() |
void |
testAutoShrink() |
void |
testBitVectorOverFlow() |
void |
testCapacity()
Test the capacity(newCapacity) method.
|
void |
testDuplicate() |
void |
testExpand()
Test the expand(expectedRemaining) method.
|
void |
testExpandPos()
Test the expand(position, expectedRemaining) method.
|
void |
testFillByteSize() |
void |
testGetEnumSet() |
void |
testGetMediumInt() |
void |
testGetPrefixedString() |
void |
testGetPutEnum() |
void |
testGetSlice()
Test the getSlice method (even if we haven't flipped the buffer)
|
void |
testGetString() |
void |
testGetStringWithFailure() |
void |
testGetUnsigned() |
void |
testIndexOf() |
void |
testInheritedObjectSerialization() |
void |
testNonserializableClass() |
void |
testNonserializableInterface() |
void |
testNormalizeCapacity()
Test the normalizeCapacity(requestedCapacity) method.
|
void |
testObjectSerialization() |
void |
testPutEnumSet() |
void |
testPutMediumInt() |
void |
testPutPrefixedString() |
void |
testPutPrefixedStringWithPadding() |
void |
testPutPrefixedStringWithPrefixLength() |
void |
testPutString() |
void |
testPutUnsigned() |
void |
testPutUnsignedIndex() |
void |
testPutUnsignedInt() |
void |
testPutUnsignedIntIndex()
Test the IoBuffer.putUnsignedInIndex() method.
|
void |
testPutUnsignedShort() |
void |
testPutUnsignedShortIndex() |
void |
testReadOnlyBuffer() |
void |
testSetPosition()
Test the IoBuffer.position(newPosition) method.
|
void |
testShrink()
Test the IoBuffer.shrink() method.
|
void |
testSlice() |
void |
testSweepNonZeros() |
void |
testSweepWithZeros() |
void |
testWideUtf8Characters() |
void |
testWrapNioBuffer() |
void |
testWrapSubArray() |
public IoBufferTest()
public void testCapacity()
public void testExpand()
public void testExpandPos()
public void testNormalizeCapacity()
public void autoExpand()
public void testObjectSerialization() throws Exception
Exception
public void testNonserializableClass() throws Exception
Exception
public void testNonserializableInterface() throws Exception
Exception
public void testAllocate() throws Exception
Exception
public void testAllocateNegative() throws Exception
Exception
public void testAutoExpand() throws Exception
Exception
public void testAutoExpandMark() throws Exception
Exception
public void testAutoShrink() throws Exception
Exception
public void testGetString() throws Exception
Exception
public void testGetStringWithFailure() throws Exception
Exception
public void testPutString() throws Exception
Exception
public void testGetPrefixedString() throws Exception
Exception
public void testPutPrefixedString() throws Exception
Exception
public void testPutPrefixedStringWithPrefixLength() throws Exception
Exception
public void testPutPrefixedStringWithPadding() throws Exception
Exception
public void testWideUtf8Characters() throws Exception
Exception
public void testInheritedObjectSerialization() throws Exception
Exception
public void testSweepWithZeros() throws Exception
Exception
public void testSweepNonZeros() throws Exception
Exception
public void testWrapNioBuffer() throws Exception
Exception
public void testWrapSubArray() throws Exception
Exception
public void testDuplicate() throws Exception
Exception
public void testReadOnlyBuffer() throws Exception
Exception
public void testGetUnsigned() throws Exception
Exception
public void testIndexOf() throws Exception
Exception
public void testPutEnumSet()
public void testGetEnumSet()
public void testBitVectorOverFlow()
public void testGetPutEnum()
public void testGetMediumInt()
public void testPutMediumInt()
public void testPutUnsigned()
public void testPutUnsignedIndex()
public void testPutUnsignedShort()
public void testPutUnsignedShortIndex()
public void testPutUnsignedInt()
public void testPutUnsignedIntIndex()
public void testGetSlice()
public void testShrink()
public void testSetPosition()
public void testFillByteSize()
Copyright © 2004–2016 Apache MINA Project. All rights reserved.