public interface DbUnitTestContext
DbUnitRunner
.Modifier and Type | Method and Description |
---|---|
DatabaseConnections |
getConnections()
Returns the
IDatabaseConnection that should be used when performing database setup and teardown. |
DataSetLoader |
getDataSetLoader()
Returns the
DataSetLoader that should be used to load IDataSet s. |
DatabaseOperationLookup |
getDatbaseOperationLookup()
Returns the
DatabaseOperationLookup that should be used to lookup database operations. |
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.
|
Object |
getTestInstance()
Returns the instance that is under test.
|
Method |
getTestMethod()
Returns the method that is under test.
|
DatabaseConnections getConnections()
IDatabaseConnection
that should be used when performing database setup and teardown.DataSetLoader getDataSetLoader()
DataSetLoader
that should be used to load IDataSet
s.DatabaseOperationLookup getDatbaseOperationLookup()
DatabaseOperationLookup
that should be used to lookup database operations.Class<?> getTestClass()
Object getTestInstance()
Method getTestMethod()
Throwable getTestException()
Copyright © 2016. All rights reserved.