org.enableit.db.test
Class DatabaseProxyTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.enableit.db.test.DatabaseProxyTest
All Implemented Interfaces:
junit.framework.Test

public class DatabaseProxyTest
extends junit.framework.TestCase

A test class to exercise the DatabaseProxy


Field Summary
private  java.sql.Connection conn
          Connection used to perform the tests
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
DatabaseProxyTest(java.lang.String theName)
           
 
Method Summary
 void executeQuery()
           
protected  void setUp()
          The method provided for by the JUnit framework in order that common setup tasks are completed before tests run
static junit.framework.Test suite()
          Invoke the tests
protected  void tearDown()
          The method provided for by the JUnit framework in order that common setup tasks are cleaned up after tests are run
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

conn

private java.sql.Connection conn
Connection used to perform the tests
Constructor Detail

DatabaseProxyTest

public DatabaseProxyTest(java.lang.String theName)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
The method provided for by the JUnit framework in order that common setup tasks are completed before tests run
Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
                 throws java.lang.Exception
The method provided for by the JUnit framework in order that common setup tasks are cleaned up after tests are run
Overrides:
tearDown in class junit.framework.TestCase

executeQuery

public void executeQuery()

suite

public static junit.framework.Test suite()
Invoke the tests


Copyright © enableIT.org 1999,2000,2001,2002 All Rights Reserved.