Save This Page
Home » commons-dbcp-1.2.2-src » org.apache.commons » dbcp » [javadoc | source]
org.apache.commons.dbcp
public class: TestBasicDataSource [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.apache.commons.dbcp.TestConnectionPool
         org.apache.commons.dbcp.TestBasicDataSource

Direct Known Subclasses:
    TestAbandonedBasicDataSource, TestPStmtPoolingBasicDataSource

TestSuite for BasicDataSource
Field Summary
protected  BasicDataSource ds     
Constructor:
 public TestBasicDataSource(String testName) 
Method from org.apache.commons.dbcp.TestBasicDataSource Summary:
getConnection,   setUp,   suite,   tearDown,   testAccessToUnderlyingConnectionAllowed,   testDefaultCatalog,   testEmptyValidationQuery,   testInitialSize,   testInvalidValidationQuery,   testIsClosedFailure,   testNoAccessToUnderlyingConnectionAllowed,   testNoValidationQuery,   testPooling,   testPropertyTestOnReturn,   testRollbackReadOnly,   testSetAutoCommitTrueOnClose,   testSetValidationTestProperties,   testTransactionIsolationBehavior
Methods from org.apache.commons.dbcp.TestConnectionPool:
getConnection,   getMaxActive,   getMaxWait,   getUsername,   setUp,   tearDown,   testAutoCommitBehavior,   testCantCloseConnectionTwice,   testCantCloseStatementTwice,   testClearWarnings,   testClosing,   testConnectionsAreDistinct,   testHashCode,   testIsClosed,   testMaxActive,   testNoRsetClose,   testOpening,   testPooling,   testPrepareStatementOptions,   testRepeatedBorrowAndReturn,   testSimple,   testSimple2,   testThreaded
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.dbcp.TestBasicDataSource Detail:
 protected Connection getConnection() throws Exception 
 public  void setUp() throws Exception 
 public static Test suite() 
 public  void tearDown() throws Exception 
 public  void testAccessToUnderlyingConnectionAllowed() throws Exception 
 public  void testDefaultCatalog() throws Exception 
 public  void testEmptyValidationQuery() throws Exception 
 public  void testInitialSize() throws Exception 
 public  void testInvalidValidationQuery() 
 public  void testIsClosedFailure() throws SQLException 
 public  void testNoAccessToUnderlyingConnectionAllowed() throws Exception 
 public  void testNoValidationQuery() throws Exception 
 public  void testPooling() throws Exception 
 public  void testPropertyTestOnReturn() throws Exception 
    Bugzilla Bug 29054: The BasicDataSource.setTestOnReturn(boolean) is not carried through to the GenericObjectPool variable _testOnReturn.
 public  void testRollbackReadOnly() throws Exception 
    Bugzilla Bug 29055: AutoCommit and ReadOnly The DaffodilDB driver throws an SQLException if trying to commit or rollback a readOnly connection.
 public  void testSetAutoCommitTrueOnClose() throws Exception 
 public  void testSetValidationTestProperties() 
 public  void testTransactionIsolationBehavior() throws Exception