|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.derbyTesting.junit.BaseTestCase
org.apache.derbyTesting.junit.BaseJDBCTestCase
org.apache.derbyTesting.functionTests.tests.jdbcapi.StreamTest
public class StreamTest
Tests of ResultSet streams
| Field Summary | |
|---|---|
private static java.lang.String |
LANG_STREAM_RETRIEVED_ALREADY
|
| Fields inherited from class org.apache.derbyTesting.junit.BaseTestCase |
|---|
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE |
| Constructor Summary | |
|---|---|
StreamTest(java.lang.String name)
Creates a new instance of StreamTest |
|
| Method Summary | |
|---|---|
private void |
insertBlobData(int blobSize)
|
private void |
insertClobData(int clobSize)
|
void |
runGetReaderTwiceTest()
|
private void |
runGetStreamTwiceTest()
|
protected void |
setUp()
|
static junit.framework.Test |
suite()
|
protected void |
tearDown()
Tear down this fixture, sub-classes should call super.tearDown(). |
void |
testGetReaderTwiceLargeClob()
Tests calling ResultSet.getCharacterStream() twice in the same column using a 512K characters clob |
void |
testGetReaderTwiceSmallClob()
Tests calling ResultSet.getCharacterStream() twice in the same column using a 512 characters clob |
void |
testGetStreamTwiceLargeBlob()
Tests calling ResultSet.getBinaryStream() twice in the same column using a 512K bytes blob |
void |
testGetStreamTwiceSmallBlob()
Tests calling ResultSet.getBinaryStream() twice in the same column using a 512 bytes blob |
| Methods inherited from class org.apache.derbyTesting.junit.BaseTestCase |
|---|
alarm, assertEquals, assertEquals, assertEquals, assertExecJavaCmdAsExpected, assertSecurityManager, assertThrowableEquals, execJavaCmd, fail, getFailureFolder, getJavaExecutableName, getSystemProperty, getTestConfiguration, getTestResource, openTestResource, println, printStackTrace, readProcessOutput, removeDirectory, removeDirectory, removeSystemProperty, runBare, setSystemProperty, traceit |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
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, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String LANG_STREAM_RETRIEVED_ALREADY
| Constructor Detail |
|---|
public StreamTest(java.lang.String name)
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
protected void tearDown()
throws java.lang.Exception
BaseJDBCTestCase
tearDown in class BaseJDBCTestCasejava.lang.Exceptionpublic static junit.framework.Test suite()
public void testGetStreamTwiceSmallBlob()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLException
java.io.IOException
public void testGetStreamTwiceLargeBlob()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLException
java.io.IOException
public void testGetReaderTwiceSmallClob()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLException
java.io.IOException
public void testGetReaderTwiceLargeClob()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLException
java.io.IOException
private void insertBlobData(int blobSize)
throws java.sql.SQLException
java.sql.SQLException
private void insertClobData(int clobSize)
throws java.sql.SQLException
java.sql.SQLException
private void runGetStreamTwiceTest()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLException
java.io.IOException
public void runGetReaderTwiceTest()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLException
java.io.IOException
|
Built on Thu 2009-11-26 18:42:53-0800, from revision 884739 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||