|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.ObjectTestCase
org.asyrinx.joey.test.dao.S2TestCaseBase
org.asyrinx.joey.test.dao.DBTestCase
DBUnitのテストケースにS2TestCaseのコンテナ関係とDB接続の機能だけを付けたテストケースです。
| フィールドの概要 |
| クラス org.asyrinx.joey.test.dao.S2TestCaseBase から継承したフィールド |
container_ |
| コンストラクタの概要 | |
DBTestCase(java.lang.String name)
|
|
| メソッドの概要 | |
protected void |
closeConnection(org.dbunit.database.IDatabaseConnection connection)
Close the specified connection. |
protected void |
executeRunBare()
|
java.sql.Connection |
getConnection()
|
protected abstract org.dbunit.dataset.IDataSet |
getDataSet()
Returns the test dataset. |
javax.sql.DataSource |
getDataSource()
|
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 |
setUp()
|
protected void |
tearDown()
|
| クラス org.asyrinx.joey.test.dao.S2TestCaseBase から継承したメソッド |
afterSetupContainer, getComponent, getComponent, getComponentDef, getComponentDef, getContainer, include, register, register, register, register, register, runBare, setUpContainer |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
public DBTestCase(java.lang.String name)
| メソッドの詳細 |
public javax.sql.DataSource getDataSource()
public java.sql.Connection getConnection()
protected void executeRunBare()
throws java.lang.Throwable
S2TestCaseBase 内の executeRunBarejava.lang.Throwable
protected abstract org.dbunit.dataset.IDataSet getDataSet()
throws java.lang.Exception
java.lang.Exception
protected org.dbunit.database.IDatabaseConnection getDBUnitConnection()
throws java.lang.Exception
java.lang.Exception
protected void closeConnection(org.dbunit.database.IDatabaseConnection connection)
throws java.lang.Exception
java.lang.Exception
protected org.dbunit.operation.DatabaseOperation getSetUpOperation()
throws java.lang.Exception
java.lang.Exception
protected org.dbunit.operation.DatabaseOperation getTearDownOperation()
throws java.lang.Exception
java.lang.Exception
protected void setUp()
throws java.lang.Exception
java.lang.Exception
protected void tearDown()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||