|
|||||||||
| 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.lang.CaseExpressionTest
public class CaseExpressionTest
| Field Summary | |
|---|---|
private static java.lang.String[][] |
columnReferenceResults
|
private static java.lang.String[][] |
nullValueResults
|
| Fields inherited from class org.apache.derbyTesting.junit.BaseTestCase |
|---|
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE |
| Constructor Summary | |
|---|---|
CaseExpressionTest(java.lang.String name)
|
|
| Method Summary | |
|---|---|
static junit.framework.Test |
suite()
Runs the test fixtures in embedded. |
void |
testAllDatatypesCombinationsForCaseExpressions()
|
private void |
testCaseExpressionQuery(java.sql.Statement st,
java.lang.String[][] expRS,
java.lang.String caseExprBegin,
java.lang.String caseExprEnd)
Execute the received caseExpression on the received Statement and check the results against the receieved expected array. |
void |
testDerby3032()
Test fix for DERBY-3032. |
void |
testMultipleWhens()
Test a query that has many WHEN conditions in it. |
void |
testWhenNonBoolean()
Test various statements that |
| 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, setUp, 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 java.lang.String[][] columnReferenceResults
private static java.lang.String[][] nullValueResults
| Constructor Detail |
|---|
public CaseExpressionTest(java.lang.String name)
| Method Detail |
|---|
public void testWhenNonBoolean()
public void testAllDatatypesCombinationsForCaseExpressions()
throws java.sql.SQLException
java.sql.SQLException
public void testMultipleWhens()
throws java.sql.SQLException
java.sql.SQLExceptionpublic static junit.framework.Test suite()
private void testCaseExpressionQuery(java.sql.Statement st,
java.lang.String[][] expRS,
java.lang.String caseExprBegin,
java.lang.String caseExprEnd)
throws java.sql.SQLException
java.sql.SQLException
public void testDerby3032()
throws java.sql.SQLException
java.sql.SQLException
|
Built on Sat 2009-11-28 18:44:18-0800, from revision 885187 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||