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, assertExecJavaCmdAsExpected, assertLaunchedJUnitTestMethod, assertLaunchedJUnitTestMethod, assertSecurityManager, assertThrowableEquals, currentDirectory, execJavaCmd, execJavaCmd, fail, getClassVersionMajor, getEmmaJar, getFailureFolder, getFilesWith, getJavaExecutableName, getSystemProperty, getTestConfiguration, getTestResource, hasInterruptibleIO, isCVM, isIBMJVM, isJ9Platform, isJava5, isJava7, isJava8, isPhoneME, isPlatform, isSunJVM, isWindowsPlatform, openTestResource, println, printStackTrace, readProcessOutput, removeDirectory, removeDirectory, removeFiles, removeSystemProperty, runBare, runsWithEmma, runsWithJaCoCo, setSystemProperty, sleep, sleepAtLeastOneTick, traceitassertEquals, 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, toStringpublic static junit.framework.Test suite()
public void testSkipLongMaxValue()
throws java.io.IOException
java.io.IOExceptionpublic void testSkipBytesIntMaxValue()
throws java.io.IOException
java.io.IOExceptionpublic void testSkipNegative()
throws java.io.IOException
java.io.IOExceptionpublic void testSkipBytesNegative()
throws java.io.IOException
java.io.IOExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.