org.logicalcobwebs.proxool
Class InjectableInterfaceTest

java.lang.Object
  extended by TestCase
      extended by org.logicalcobwebs.proxool.AbstractProxoolTest
          extended by org.logicalcobwebs.proxool.InjectableInterfaceTest

public class InjectableInterfaceTest
extends AbstractProxoolTest

Tests whether we can inject a new interface into one of the proxy objects

Since:
Proxool 0.9
Version:
$Revision: 1.2 $, $Date: 2004/06/17 21:36:39 $
Author:
Bill Horsman, $Author: billhorsman $ (current maintainer)

Field Summary
private static Log LOG
           
 
Constructor Summary
InjectableInterfaceTest(java.lang.String alias)
           
 
Method Summary
 void testInjectableCallableStatementInterface()
          Get a statement and cast it into the appropriate interface
 void testInjectableConnectionInterface()
          Get a connection and cast it into the appropriate interface
 void testInjectablePreparedStatementInterface()
          Get a statement and cast it into the appropriate interface
 void testInjectableStatementInterface()
          Get a statement and cast it into the appropriate interface
 
Methods inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest
setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final Log LOG
Constructor Detail

InjectableInterfaceTest

public InjectableInterfaceTest(java.lang.String alias)
See Also:
AbstractProxoolTest
Method Detail

testInjectableConnectionInterface

public void testInjectableConnectionInterface()
                                       throws java.lang.Exception
Get a connection and cast it into the appropriate interface

Throws:
java.lang.Exception

testInjectableStatementInterface

public void testInjectableStatementInterface()
                                      throws java.lang.Exception
Get a statement and cast it into the appropriate interface

Throws:
java.lang.Exception

testInjectablePreparedStatementInterface

public void testInjectablePreparedStatementInterface()
                                              throws java.lang.Exception
Get a statement and cast it into the appropriate interface

Throws:
java.lang.Exception

testInjectableCallableStatementInterface

public void testInjectableCallableStatementInterface()
                                              throws java.lang.Exception
Get a statement and cast it into the appropriate interface

Throws:
java.lang.Exception