org.asyrinx.joey.test.dao
クラス DBS2TestCase

java.lang.Object
  拡張org.asyrinx.joey.test.dao.DBS2TestCase

public abstract class DBS2TestCase
extends java.lang.Object

作成者:
akima

コンストラクタの概要
DBS2TestCase(java.lang.String name)
           
 
メソッドの概要
protected  void closeConnection(org.dbunit.database.IDatabaseConnection connection)
          Close the specified connection.
protected abstract  org.dbunit.dataset.IDataSet getDataSet()
          Returns the test dataset.
protected  org.dbunit.database.IDatabaseConnection getDBUnitConnection()
          Returns the test database connection.
protected  org.dbunit.operation.DatabaseOperation getSetUpOperation()
          Returns the database operation executed in test setup.
protected  org.dbunit.operation.DatabaseOperation getTearDownOperation()
          Returns the database operation executed in test cleanup.
protected  void runTest()
           
protected  void setUp()
           
protected  void tearDown()
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DBS2TestCase

public DBS2TestCase(java.lang.String name)
パラメータ:
name -
メソッドの詳細

getDataSet

protected abstract org.dbunit.dataset.IDataSet getDataSet()
                                                   throws java.lang.Exception
Returns the test dataset.

例外:
java.lang.Exception

getDBUnitConnection

protected org.dbunit.database.IDatabaseConnection getDBUnitConnection()
                                                               throws java.lang.Exception
Returns the test database connection.

例外:
java.lang.Exception

closeConnection

protected void closeConnection(org.dbunit.database.IDatabaseConnection connection)
                        throws java.lang.Exception
Close the specified connection. Ovverride this method of you want to keep your connection alive between tests.

例外:
java.lang.Exception

getSetUpOperation

protected org.dbunit.operation.DatabaseOperation getSetUpOperation()
                                                            throws java.lang.Exception
Returns the database operation executed in test setup.

例外:
java.lang.Exception

getTearDownOperation

protected org.dbunit.operation.DatabaseOperation getTearDownOperation()
                                                               throws java.lang.Exception
Returns the database operation executed in test cleanup.

例外:
java.lang.Exception

setUp

protected void setUp()
              throws java.lang.Exception
例外:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
例外:
java.lang.Exception

runTest

protected void runTest()
                throws java.lang.Throwable
例外:
java.lang.Throwable


Copyright © 2004 asyrinx organization. All Rights Reserved.