testCombineWithExtraEmptyByteArray() Make sure an extra "empty" array doesn't cause errors.
This test is based on knowledge of the implementation, where an extra
byte array was not removed during the reducation process.
public void testCombineWithExtraEmptyByteArray() throws IOException(Code)
Make sure an extra "empty" array doesn't cause errors.
This test is based on knowledge of the implementation, where an extra
byte array was not removed during the reducation process. This can
cause nextArray to not return null when it
should, causing an ArrayIndexOutOfBoundsException.
This bug was corrected by DERBY-1417.
Make sure an exception is thrown if a negative length is specified.
testNegativeValueInDataCausesEndOfStream
public void testNegativeValueInDataCausesEndOfStream() throws IOException(Code)
Demonstrate that the stream does not change negative values in the
underlying data.
This can cause code to believe the stream is exhausted even though it is
not.