org.apache.derbyTesting.functionTests.tests.jdbcapi
Class JDBCDriversPropertyTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversPropertyTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
JDBCDriversAllTest, JDBCDriversClientTest, JDBCDriversEmbeddedTest

abstract class JDBCDriversPropertyTest
extends junit.framework.TestCase

Run an autoload test with the system property jdbc.drivers being set. This test is only intended to be run in its own vm as a single test run. It inherits from TestCase so as to not have any chance of loading DriverManager before setting jdbc.drivers.


Constructor Summary
JDBCDriversPropertyTest()
           
 
Method Summary
private static junit.framework.Test getAutoLoadSuite()
          Load the class and run its suite method through reflection so that DriverManger is not loaded indirectly before jdbc.drivers is set.
(package private) static junit.framework.Test getSuite(java.lang.String jdbcDrivers)
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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

JDBCDriversPropertyTest

JDBCDriversPropertyTest()
Method Detail

getSuite

static final junit.framework.Test getSuite(java.lang.String jdbcDrivers)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getAutoLoadSuite

private static junit.framework.Test getAutoLoadSuite()
                                              throws java.lang.Exception
Load the class and run its suite method through reflection so that DriverManger is not loaded indirectly before jdbc.drivers is set.

Throws:
java.lang.Exception

Built on Thu 2009-11-26 18:42:53-0800, from revision 884739

Apache Derby V10.6 Internals - Copyright © 2004,2008 The Apache Software Foundation. All Rights Reserved.