|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.springtestdbunit.DbUnitRule.DbUnitTestContextAdapter
protected class DbUnitRule.DbUnitTestContextAdapter
| Constructor Summary | |
|---|---|
DbUnitRule.DbUnitTestContextAdapter(org.junit.runners.model.FrameworkMethod method,
Object target)
|
|
| Method Summary | |
|---|---|
org.dbunit.database.IDatabaseConnection |
getConnection()
Returns the IDatabaseConnection that should be used when performing database setup and teardown. |
DataSetLoader |
getDataSetLoader()
Returns the DataSetLoader that should be used to load IDataSets. |
Class<?> |
getTestClass()
Returns the class that is under test. |
Throwable |
getTestException()
Returns any exception that was thrown during the test or null if no test exception occurred. |
Method |
getTestMethod()
Returns the method that is under test. |
void |
setTestException(Throwable e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbUnitRule.DbUnitTestContextAdapter(org.junit.runners.model.FrameworkMethod method,
Object target)
| Method Detail |
|---|
public org.dbunit.database.IDatabaseConnection getConnection()
IDatabaseConnection that should be used when performing database setup and teardown.
public DataSetLoader getDataSetLoader()
DataSetLoader that should be used to load IDataSets.
public Class<?> getTestClass()
public Method getTestMethod()
public Throwable getTestException()
public void setTestException(Throwable e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||