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 buffer 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 void testCapacity()
public void testExpand()
public void testExpandPos()
public void testNormalizeCapacity()
public void autoExpand()
public void testNonserializableInterface() throws Exception
Exception
public void testAllocateNegative() throws Exception
Exception
- If allocation failedpublic void testPutPrefixedStringWithPrefixLength() throws Exception
Exception
public void testPutPrefixedStringWithPadding() throws Exception
Exception
public void testInheritedObjectSerialization() 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–2018 Apache MINA Project. All rights reserved.