|
|||||||||
| 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.LobStreamsTest
public class LobStreamsTest
| Field Summary | |
|---|---|
(package private) int[] |
streamSize
|
private java.lang.String |
unicodeTestString
|
| Fields inherited from class org.apache.derbyTesting.junit.BaseTestCase |
|---|
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE |
| Constructor Summary | |
|---|---|
LobStreamsTest(java.lang.String name)
Creates a new instance of LobStreamsTest |
|
| Method Summary | |
|---|---|
private boolean |
compareClobReader2CharArray(char[] cArray,
java.io.Reader charReader)
|
private boolean |
compareLob2File(java.io.InputStream fStream,
java.io.InputStream lStream)
|
private int |
readBytesFromStream(byte[] b,
java.io.InputStream is)
|
void |
setUp()
Set up the connection to the database. |
static junit.framework.Test |
suite()
Run with DerbyNetClient only. |
void |
testBlobWrite1Param()
Tests the BlobOutputStream.write(int b) method |
void |
testBlobWrite3Param()
Tests the BlobOutputStream.write(byte b[], int off, int len) method |
void |
testClobAsciiWrite1Param()
Tests the ClobOutputStream.write(int b) method |
void |
testClobAsciiWrite3Param()
Tests the ClobOutputStream.write(byte b[], int off, int len) method |
void |
testClobCharacterWrite1Char()
Tests the ClobWriter.write(int c) method |
void |
testClobCharacterWrite1ParamString()
Tests the ClobWriter.write(String str) method |
void |
testClobCharacterWrite3ParamChar()
Tests the ClobWriter.write(char cbuf[], int off, int len) method |
void |
testClobCharacterWrite3ParamString()
Tests the ClobWriter.write(String str, int off, int len) method |
| 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 |
|---|
int[] streamSize
private final java.lang.String unicodeTestString
| Constructor Detail |
|---|
public LobStreamsTest(java.lang.String name)
| Method Detail |
|---|
public void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
public void testBlobWrite3Param()
throws java.lang.Exception
java.lang.Exception
public void testBlobWrite1Param()
throws java.lang.Exception
java.lang.Exception
public void testClobAsciiWrite1Param()
throws java.lang.Exception
java.lang.Exception
public void testClobAsciiWrite3Param()
throws java.lang.Exception
java.lang.Exception
public void testClobCharacterWrite3ParamChar()
throws java.lang.Exception
java.lang.Exception
public void testClobCharacterWrite3ParamString()
throws java.lang.Exception
java.lang.Exception
public void testClobCharacterWrite1ParamString()
throws java.lang.Exception
java.lang.Exception
public void testClobCharacterWrite1Char()
throws java.lang.Exception
java.lang.Exceptionpublic static junit.framework.Test suite()
private int readBytesFromStream(byte[] b,
java.io.InputStream is)
throws java.io.IOException
java.io.IOException
private boolean compareLob2File(java.io.InputStream fStream,
java.io.InputStream lStream)
throws java.lang.Exception
java.lang.Exception
private boolean compareClobReader2CharArray(char[] cArray,
java.io.Reader charReader)
throws java.lang.Exception
java.lang.Exception
|
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 | ||||||||