|
|||||||||
| 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.ClobStoredProcedureTest
public class ClobStoredProcedureTest
Tests the stored procedures introduced as part of DERBY-208. These stored procedures will used by the Clob methods on the client side.
| Field Summary | |
|---|---|
(package private) java.lang.String |
testStr
|
(package private) long |
testStrLength
|
| Fields inherited from class org.apache.derbyTesting.junit.BaseTestCase |
|---|
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE |
| Constructor Summary | |
|---|---|
ClobStoredProcedureTest(java.lang.String name)
Public constructor required for running test as standalone JUnit. |
|
| Method Summary | |
|---|---|
void |
setUp()
Setup the test. |
static junit.framework.Test |
suite()
Create a suite of tests. |
void |
tearDown()
Cleanup the test. |
void |
testClobCreateLocatorSP()
Tests the locator value returned by the stored procedure CLOBCREATELOCATOR. |
void |
testClobGetLengthSP()
Tests the stored procedure SYSIBM.CLOBGETLENGTH. |
void |
testClobGetPositionFromLocatorSP()
Tests the SYSIBM.CLOBGETPOSITIONFROMLOCATOR stored procedure. |
void |
testClobGetPositionFromStringSP()
Tests the stored procedure SYSIBM.CLOBGETPOSITIONFROMSTRING. |
void |
testClobReleaseLocatorSP()
Tests the SYSIBM.CLOBRELEASELOCATOR stored procedure. |
void |
testClobSetStringSP()
Tests the stored procedure SYSIBM.CLOBSETSTRING |
void |
testClobTruncateSP()
Test the stored procedure SYSIBM.CLOBGETLENGTH |
void |
testGetSubStringSP()
Test the stored procedure SYSIBM.CLOBGETSUBSTRING |
| 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 |
|---|
final java.lang.String testStr
final long testStrLength
| Constructor Detail |
|---|
public ClobStoredProcedureTest(java.lang.String name)
name - a string containing the name of the test.| Method Detail |
|---|
public static junit.framework.Test suite()
public void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasea - SQLException.
java.lang.Exception
public void tearDown()
throws java.lang.Exception
tearDown in class BaseJDBCTestCaseSQLException.
java.lang.Exception
public void testGetSubStringSP()
throws java.sql.SQLException
an - SQLException.
java.sql.SQLException
public void testClobCreateLocatorSP()
throws java.sql.SQLException
SQLException.
java.sql.SQLException
public void testClobReleaseLocatorSP()
throws java.sql.SQLException
java.sql.SQLException
public void testClobGetLengthSP()
throws java.sql.SQLException
java.sql.SQLException
public void testClobGetPositionFromStringSP()
throws java.sql.SQLException
SQLException.
java.sql.SQLException
public void testClobSetStringSP()
throws java.sql.SQLException
SQLException.
java.sql.SQLException
public void testClobTruncateSP()
throws java.sql.SQLException
java.sql.SQLException
public void testClobGetPositionFromLocatorSP()
throws java.sql.SQLException
SQLException.
java.sql.SQLException
|
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 | ||||||||