|
|||||||||
| 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.store.BootAllTest
public class BootAllTest
Tests for the system property "derby.system.bootAll" DERBY-1296 - Setting property derby.system.bootAll causes an Exception create & shutdown three databases as well as the default shutdown the engine set "derby.system.bootAll" check at least four databases are listed in the driver info Test drops the three databases after their use as it uses the singleUseDatabaseDecorator. Test is written to be tolerant of other databases in the system.
| Field Summary |
|---|
| Fields inherited from class org.apache.derbyTesting.junit.BaseTestCase |
|---|
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE |
| Constructor Summary | |
|---|---|
BootAllTest(java.lang.String name)
Creates a new instance of BootAllTest |
|
| Method Summary | |
|---|---|
void |
createShutdownDatabase()
|
void |
shutdownDerby()
|
static junit.framework.Test |
suite()
|
void |
testSettingBootAllPropertyWithHomePropertySet()
DERBY-1296 - Setting property derby.system.bootAll causes an Exception Check that setting the system property "derby.system.bootAll" will not cause an exception when used in combination with the system property "derby.system.home". |
| 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 BootAllTest(java.lang.String name)
| Method Detail |
|---|
public static junit.framework.Test suite()
public void createShutdownDatabase()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void shutdownDerby()
public void testSettingBootAllPropertyWithHomePropertySet()
throws java.lang.Exception
java.lang.Exception
|
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 | ||||||||