vishnu.tests
Class ConnectorTestCase

java.lang.Object
  extended by TestCase
      extended by vishnu.tests.ConnectorTestCase
Direct Known Subclasses:
CreateTestCase, MultiTableConnectorTestCase

public abstract class ConnectorTestCase
extends TestCase

 

Constructor Summary
ConnectorTestCase()
           
ConnectorTestCase(TransportServiceConfigurator configurator)
           
 
Method Summary
protected  void assertPerformFailure(java.lang.String sqlStatement, java.lang.Class exceptionClass)
           
protected  void assertPerformPass(java.lang.String sqlStatement)
           
protected  java.lang.String configurationString()
           
protected  void myAssertTrue(java.lang.String s, boolean condition, java.lang.Exception e)
           
 void perform(java.lang.String sqlStatement)
           
protected  void setUp()
           
 void setUpOnce()
           
protected  void tearDown()
           
 void tearDownOnce()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorTestCase

public ConnectorTestCase(TransportServiceConfigurator configurator)

ConnectorTestCase

public ConnectorTestCase()
Method Detail

setUpOnce

public void setUpOnce()

tearDownOnce

public void tearDownOnce()

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

perform

public void perform(java.lang.String sqlStatement)
             throws java.lang.RuntimeException
Throws:
java.lang.RuntimeException

assertPerformFailure

protected void assertPerformFailure(java.lang.String sqlStatement,
                                    java.lang.Class exceptionClass)

myAssertTrue

protected void myAssertTrue(java.lang.String s,
                            boolean condition,
                            java.lang.Exception e)

assertPerformPass

protected void assertPerformPass(java.lang.String sqlStatement)

configurationString

protected java.lang.String configurationString()