|
|||||||||
| 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.DataSourcePropertiesTest
public class DataSourcePropertiesTest
This class tests that properties of data sources are handled correctly.
| Field Summary |
|---|
| Fields inherited from class org.apache.derbyTesting.junit.BaseTestCase |
|---|
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE |
| Constructor Summary | |
|---|---|
DataSourcePropertiesTest(java.lang.String name)
Creates a new test case. |
|
| Method Summary | |
|---|---|
void |
embeddedTestAttributesAsPasswordWithoutPassword_ds()
Tests that the default password is not sent as an attribute string when attributesAsPassword is true. |
void |
embeddedTestAttributesAsPasswordWithoutPassword_pooled()
Tests that the default password is not sent as an attribute string when attributesAsPassword is true. |
void |
embeddedTestAttributesAsPasswordWithoutPassword_xa()
Tests that the default password is not sent as an attribute string when attributesAsPassword is true. |
void |
embeddedTestAttributesAsPasswordWithPassword_ds()
Tests that the attributesAsPassword property of a
DataSource causes an explicitly specified password to be
sent as a property string. |
void |
embeddedTestAttributesAsPasswordWithPassword_pooled()
Tests that the attributesAsPassword property of a
ConnectionPoolDataSource causes an explicitly specified
password to be sent as a property string. |
void |
embeddedTestAttributesAsPasswordWithPassword_xa()
Tests that the attributesAsPassword property of an
XADataSource causes an explicitly specified password to be
sent as a property string. |
static junit.framework.Test |
suite()
Creates a test suite with all test cases only running in embedded at the moment. |
| 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 |
| Constructor Detail |
|---|
public DataSourcePropertiesTest(java.lang.String name)
name - name of test method| Method Detail |
|---|
public static junit.framework.Test suite()
public void embeddedTestAttributesAsPasswordWithoutPassword_ds()
throws java.lang.Exception
attributesAsPassword is true. The test is run
with a DataSource.
java.lang.Exception
public void embeddedTestAttributesAsPasswordWithoutPassword_pooled()
throws java.lang.Exception
attributesAsPassword is true. The test is run
with a ConnectionPoolDataSource.
java.lang.Exception
public void embeddedTestAttributesAsPasswordWithoutPassword_xa()
throws java.lang.Exception
attributesAsPassword is true. The test is run
with an XADataSource.
java.lang.Exception
public void embeddedTestAttributesAsPasswordWithPassword_ds()
throws java.lang.Exception
attributesAsPassword property of a
DataSource causes an explicitly specified password to be
sent as a property string.
java.lang.Exception
public void embeddedTestAttributesAsPasswordWithPassword_pooled()
throws java.lang.Exception
attributesAsPassword property of a
ConnectionPoolDataSource causes an explicitly specified
password to be sent as a property string.
java.lang.Exception
public void embeddedTestAttributesAsPasswordWithPassword_xa()
throws java.lang.Exception
attributesAsPassword property of an
XADataSource causes an explicitly specified password to be
sent as a property string.
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 | ||||||||