public class ArrayInputStreamTest extends BaseTestCase
org.apache.derby.iapi.services.io.ArrayInputStream
.DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE
Constructor and Description |
---|
ArrayInputStreamTest(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static junit.framework.Test |
suite() |
void |
testSkipBytesIntMaxValue()
Test that we don't get an overflow when the argument to skipBytes() is
Integer.MAX_VALUE (DERBY-3739).
|
void |
testSkipBytesNegative()
Test that skipBytes() returns 0 when the argument is negative
(DERBY-3739).
|
void |
testSkipLongMaxValue()
Test that we don't get an overflow when the argument to skip() is
Long.MAX_VALUE (DERBY-3739).
|
void |
testSkipNegative()
Test that skip() returns 0 when the argument is negative (DERBY-3739).
|
alarm, assertDirectoryDeleted, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertExecJavaCmdAsExpected, assertLaunchedJUnitTestMethod, assertLaunchedJUnitTestMethod, assertSameNullness, assertSecurityManager, assertThrowableEquals, currentDirectory, execJavaCmd, execJavaCmd, execJavaCmd, fail, getClassVersionMajor, getEmmaJar, getFailureFolder, getFilesWith, getJavaExecutableName, getSystemProperty, getTestConfiguration, getTestResource, hasInterruptibleIO, isCVM, isIBMJVM, isJ9Platform, isJava5, isJava7, isPhoneME, isPlatform, isSunJVM, isWindowsPlatform, newAssertionFailedError, openTestResource, println, printStackTrace, readProcessOutput, removeDirectory, removeDirectory, removeFiles, removeSystemProperty, runBare, runsWithEmma, runsWithJaCoCo, setSystemErr, setSystemOut, setSystemProperty, sleep, sleepAtLeastOneTick, traceit, vmAtLeast
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, setUp, tearDown, toString
public static junit.framework.Test suite()
public void testSkipLongMaxValue() throws java.io.IOException
java.io.IOException
public void testSkipBytesIntMaxValue() throws java.io.IOException
java.io.IOException
public void testSkipNegative() throws java.io.IOException
java.io.IOException
public void testSkipBytesNegative() throws java.io.IOException
java.io.IOException
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.